R = u2sin2θg\; \frac{u^2 \sin 2\theta}{g}gu2sin2θ
From the above formula, it is evident that range depends on acceleration due to gravity.
For real, the range of a projectile is affected by the acceleration due to gravity; it influences how far the projectile travels horizontally.