Code tool

Sub-base Aggregate Calculator

Calculate rectangle areas and volumes, with optional user compaction, density and bag quantities.

In-browser processingNo account requiredPrivacy details ↗

Rows contain length, width, depth. All dimensions are positive. Waste is required, zero allowed. Optional loose/compacted factor, density (kg/m³) and bag mass (kg) must be positive. Blank optional inputs leave dependent outputs undefined. Factor is used only in compacted mode. This is a material estimate, not a ground specification.

All lengths convert to metres. Loose reference: adjusted volume = geometric volume × (1+waste/100). Compacted reference additionally multiplies by your loose/compacted volume factor; without it, adjusted volume is undefined. Density is kg per loose m³. Mass = adjusted volume × density. Bags round up separately per segment; bag surplus is supplied mass − required mass.

Exact decimals and reduced fractions; all ceilings use BigInt rational arithmetic. Inputs must remain in the finite numeric range; nonzero underflow is rejected.

Enter values and choose the required modes. Changes invalidate the report.

A QUICK WALKTHROUGH

How to use this tool

  1. Choose the input layout, units and required model.
  2. Enter your dimensions and product values; read the model conditions.
  3. Calculate and review every segment and total, then copy or download the frozen report.

Quantity model

All lengths convert to metres. Loose reference: adjusted volume = geometric volume × (1+waste/100). Compacted reference additionally multiplies by your loose/compacted volume factor; without it, adjusted volume is undefined. Density is kg per loose m³. Mass = adjusted volume × density. Bags round up separately per segment; bag surplus is supplied mass − required mass.

Inputs

Rows contain length, width, depth. All dimensions are positive. Waste is required, zero allowed. Optional loose/compacted factor, density (kg/m³) and bag mass (kg) must be positive. Blank optional inputs leave dependent outputs undefined. Factor is used only in compacted mode. This is a material estimate, not a ground specification.

Exact decimals and reduced fractions; all ceilings use BigInt rational arithmetic. Inputs must remain in the finite numeric range; nonzero underflow is rejected.

Calculations stay in your browser. No manufacturer dimensions, material densities or structural assumptions are supplied.

GOOD TO KNOW

Common questions

How are quantities rounded?

All lengths convert to metres. Loose reference: adjusted volume = geometric volume × (1+waste/100). Compacted reference additionally multiplies by your loose/compacted volume factor; without it, adjusted volume is undefined. Density is kg per loose m³. Mass = adjusted volume × density. Bags round up separately per segment; bag surplus is supplied mass − required mass.

Which values must I supply?

Rows contain length, width, depth. All dimensions are positive. Waste is required, zero allowed. Optional loose/compacted factor, density (kg/m³) and bag mass (kg) must be positive. Blank optional inputs leave dependent outputs undefined. Factor is used only in compacted mode. This is a material estimate, not a ground specification.

Does this certify construction suitability?

Calculations stay in your browser. No manufacturer dimensions, material densities or structural assumptions are supplied. Rows contain length, width, depth. All dimensions are positive. Waste is required, zero allowed. Optional loose/compacted factor, density (kg/m³) and bag mass (kg) must be positive. Blank optional inputs leave dependent outputs undefined. Factor is used only in compacted mode. This is a material estimate, not a ground specification.