Jesus was born during the reign of Herod the Great (Matt. 2:1); Herod died in the spring of 4 B.C.
Jesus was presented in the temple after 40 days (Luke 2:22).
The Magi found him in a house (Matt. 2:11).
Herod killed baby boys 2 years old and younger (Matt. 2:16).
There is no 0 year in the BC/AD system (there is a 0 year in some BCE/BC systems--those that have to do with astronomy).
John began preaching during the 15th year of the reign of Tiberius Caesar (Luke 3:1).
Tiberius succeeded Augustus on Aug. 19, AD 14
Roman method: 15th year is Aug. 19, 28 - Aug. 19, 29
Syrian method: 15th year is Sept/Oct. 27 - Sept./Oct 28
When Jesus started His ministry, He was about 30 years old (Luke 3:23).
At the first Passover following His baptism, the Jews said that it had taken 46 years to build the temple to that point (John 2:20).
Herod started the temple in 20 or 19 BC inclusive counting:
if in 20/19 BC, year 46 is AD 26/27
if in 19/18 BC, year 46 is AD 27/28 exclusive counting:
if in 20/19 BC, year 46 is AD 27/28
if in 19/18 BC, year 46 is AD 28/29
Thus the earliest Passover after Jesus' baptism and the beginning of His preaching would be in the spring of AD 28.
John mentions three Passovers during Jesus' ministry (John 2:13; 6:4; 11:55) and one unnamed feast that may have been a Passover (John 5:1), giving either a 2½ or 3½ year ministry as a minimum.
Jesus died on the 15th of Nisan in a year that it fell on Friday.