A gravel driveway calculator works out how much gravel you need — in tons and cubic yards — from the driveway's size and the depth of stone you're laying. Gravel is delivered by the ton, so it converts your dimensions straight into the order weight.
A driveway that lasts is built in layers: a coarse base for strength under a finer top for the surface. This sizes the total, and the product links cover the fabric and edging that keep gravel from spreading and sinking.
Volume = area × depth, in cubic yards (÷ 27). Tons ≈ cubic yards × 1.4 (crushed stone density varies by type and moisture). A new driveway is usually 6-10 in total over compacted soil, in a coarse base plus finer surface; this sizes whatever total depth you enter.
A 40 × 12 ft driveway (480 sq ft) at 4 in deep needs about 5.9 cubic yards — roughly 8.3 tons of gravel.