Reference

Formula reference library

The exact formula behind every calculator on this site, in one place.

Sand Calculator — Volume and weight
Volume = surface area × depth
Weight = volume × material density
Volume = surface area × depth
(then converted to your chosen units)
Stone Calculator — Volume and weight
Volume = surface area × depth
Weight = volume × selected material density
Markup Calculator — Markup and margin
Markup % = (price − cost) ÷ cost × 100
Margin % = (price − cost) ÷ price × 100
Deck Board Calculator — Board count
Effective coverage = board width + gap
Board count = deck dimension ÷ effective coverage, then apply waste factor
Pool Water Volume Calculator — Volume by shape
Rectangular: length × width × average depth
Round: π × radius² × average depth
(then convert to requested units)
New pay = current pay × (1 + raise %)
Raise % = (new − old) ÷ old × 100
Fence Calculator — Panels and posts
Panels = ceiling(length ÷ panel width)
Posts = sections + gate/corner/end adjustments
Paver Calculator — Paver count
Pavers = project area ÷ paver face area, adjusted by the selected waste factor
Roof Pitch Calculator — Pitch, angle and rafter length
Pitch = rise ÷ run
Angle = arctan(rise ÷ run)
Rafter length = √(rise² + run²)
Electricity Cost Calculator — Energy and cost
Energy (kWh) = power (kW) × hours
Cost = kWh × tariff
Age Difference Calculator — Calendar-aware difference
Difference is computed date-to-date, preserving real month lengths and leap years
(not a simple 365-day average).
Overtime Calculator — Overtime and gross pay
Overtime pay = overtime hours × hourly rate × multiplier
Gross pay = regular pay + overtime pay
Stair Calculator — Risers, treads and stringer
Risers = round(total rise ÷ target riser height)
Treads = risers − 1 (typical)
Stringer length uses the Pythagorean relationship between total rise and total run