Depends on the cannon. The field artillery used in the American Civil War could shoot about 1000 meters. The "Paris Gun" used by Germany in WW 1 could shoot 81 miles. The present day US 155 mm howitzer can shoot 25 miles with special guided ammunition.
Miles
120 miles
3-5 miles
@ 1.5 miles
@ 2.5 miles
The projectile can travel up to 1.5 miles
Depends on the gun. And 45 degree is not the maximum range- it is about 41 degrees. A .22 short pistol might fire about 500 yards, a .300 Winchester Magnum about 5-6 miles. If you include artillery, the 155mm howitzer has a max range just over 9 miles, and a battleship can reach about 26 miles with their 16 inch guns.
Five million miles
Depending on caliber up to and beyond 3 miles.
The projectile can travel up to 1.5 miles
roughly about 22 miles accurate