Use the library to understand the method, then open a full calculator or continue with an Academy lesson. Inputs and learning progress are not transferred between tools.
Global discount; included pool discount; excluded pool remainder discount (integer cents)
BT; BN
Included and excluded pools after allocated discount (integer cents)
t
User-entered tax percentage, not a jurisdictional recommendation (%)
Tax; Grand
Tax rounded once on BT; final discounted subtotal plus tax (integer cents)
Manual method
Calculate every material through its selected area/piece basis. Calculate each independently entered service quantity × rate; a fixed service is its entered amount. Round each line once to cents.
Add rounded materials and services for S. Separately total included lines for T and excluded lines for N; check S = T + N.
Calculate one global percentage or fixed discount D. In integer cents, taxable discount DT = roundHalfUp(D × T ÷ S); excluded discount DN = D − DT. If S is zero, do not divide.
Subtract the allocated shares: BT = T − DT and BN = N − DN. Check BT + BN = S − D.
Calculate tax once on BT using the manually entered percentage, round half up to cents, and add it to S − D. Do not tax each line separately or tax BN.
Worked example
Teaching example: Ajax Gold 295 × 180 cm × 3, d=0.04 m², AED 250/m²; Carrara White 320 × 180 cm × 2, AED 180/m²; 10% discount, 5% tax
With every material included in tax and no services, 5% tax rounds to AED 271.17.
5423.49 + 271.17 = AED 5,694.66.
AED 5,694.66
Precision: All formula quantities above are integer cents; do not round allocation to whole currency units. Lines round half up once; global discount and pooled tax round separately. BigInt intermediate arithmetic allocates DT = roundHalfUp(D × T ÷ S), DN = D − DT. For S = 0 the allocation is zero without division. Service inputs allow six effective decimal places; the current material-rate precision contract remains unchanged. Percentage inputs support two decimals. A fixed discount cannot exceed subtotal.
Limitations: A draft quotation is not a tax invoice, payment or acceptance. The user selects tax inclusion and rate. Verify transaction-specific treatment; a currency does not determine jurisdiction. Service quantities are independent, never inferred from material area or perimeter.
Usable Slab Area, Area-Only Slab Counts and Availability
Slab & Waste Planning · Beginner
Lu = L − left − right; Wu = W − top − bottom; U = Lu × Wu; count = ceil(R ÷ U)
L; W; Lu; Wu
Full and usable length and width after opposite margins are subtracted (one shared length unit, converted to m for area)
left; right; top; bottom
Edge reservations subtracted from the matching dimensions (same normalized length unit as L and W)
count; ceil
Whole-slab area lower bound; upward integer rounding (slabs)
R
Required area (m²)
U
Usable area per slab (m²)
margins
Independent edge reservations (mm)
Manual method
Normalize slab dimensions and edge reservations to matching units. Subtract both opposite margins from each dimension.
Multiply the remaining length by width in metres for usable area U.
Divide required area R by U and round the count upward to a whole slab. Compare available usable area with demand separately. This does not prove a geometric fit.
Worked example
300 × 180 cm slab; 10 mm on each edge; demand 27.33 m²
Usable dimensions: 298 × 178 cm.
Usable area = 5.3044 m²; reserved = 5.4 − 5.3044 = 0.0956 m².
ceil(27.33 ÷ 5.3044) = 6; estimated usable area 31.8264 m²; surplus 4.4964 m².
Without margins: ceil(27.33 ÷ 5.4) = 6. Five available full slabs provide 27 m²: 0.33 m² shortfall.
6 whole slabs as an area-only lower bound
Precision: The engine uses exact integer square micrometres and integer ceiling, not a rounded division.
Limitations: Area sufficiency does not guarantee nesting, verified stock, recoverable surplus or actual waste.
Additive Waste and Procurement Allowances
Slab & Waste Planning · Beginner
p = cutting% + breakage% + contingency%; extra = N × p ÷ 100; budget = N + extra
N
Original net area (m²)
p
Combined user-selected allowance (%)
Manual method
Start with the original net area N. Divide each chosen percentage by 100 and multiply it by N.
Add the individual allowances to N. Do not apply the next percentage to a previously increased area.
If using ordering rounding, round upward to the specified area increment separately. An area increment does not determine a whole-slab order.
Worked example
100 m² with 5%, 3%, 2%; second example 27.33 m² with 5%
100 × 5% = 5; 100 × 3% = 3; 100 × 2% = 2 m².
Combined 10%; budget 100 + 10 = 110 m².
27.33 × 5% = 1.3665 m²; exact budget 28.6965 m².
Optional upward ordering rounding to 0.01 m² gives 28.70 m² separately.
110 m²; second exact budget 28.6965 m²
Precision: Exact rational areas preserve fractional square micrometres. Each percentage is on a 0.01% grid; ordering rounding is separate.
Limitations: No default loss rate is claimed; geometric unused area must not be automatically added.
Each finished rectangle’s normalized dimensions and positive whole count (m; m; pieces)
Σ; ceil; lower bound
Sum line areas; round upward; theoretical minimum count (m²; upward rounding; slabs)
R
Requested finished area (m²)
U
Usable slab area (m²)
Manual method
Convert each requested rectangle into metres, multiply length × width × quantity, and add all requested areas.
Calculate usable slab area after edge margins.
Divide requested area by usable slab area and round upward. This is a theoretical floor only; physical placement still needs validation.
Worked example
Teaching example: A: 4 × (100 × 60 cm), B: 3 × (80 × 50 cm), C: 2 × (120 × 40 cm). A and C allow 90° rotation; B is locked at 0°. Slab: 300 × 180 cm, zero margins and kerf.
Four pieces: 4 × 1 × 0.6 = 2.4 m².
Three pieces: 3 × 0.8 × 0.5 = 1.2 m²; two pieces: 2 × 1.2 × 0.4 = 0.96 m².
Total nine pieces = 4.56 m²; ceil(4.56 ÷ 5.4) = 1.
4.56 m²; area-only lower bound 1 slab
Precision: The cut engine sums exact integer geometry, then applies integer ceiling.
Limitations: Piece dimensions, kerf, rotation, margins and defects can require more slabs. No global optimality guarantee.
Placement Coverage and Material Area Reconciliation
Reserved edge area; remaining area inside the margins (m²)
coverage; yield
Placed share of usable area; placed share of full opened area (%)
placed
Finished area of actually placed pieces (m²)
unoccupied
Usable area not occupied by finished rectangles (m²)
full
Full area of opened slabs (m²)
Manual method
Use finished area of pieces actually placed in a validated layout; do not include unplaced requests.
Subtract placed area from usable area to find unoccupied area. Full area equals reserved margin area plus usable area.
Divide placed by usable and multiply by 100 for coverage. Divide placed by full for full-slab yield. These ratios do not certify recoverable offcuts.
Worked example
Validated 4.56 m² placement on one 300 × 180 cm slab, zero margins and kerf; A and C allow 90° rotation, while three B pieces (80 × 50 cm) are locked at 0°
Unoccupied = 5.4 − 4.56 = 0.84 m².
Coverage = 4.56 ÷ 5.4 × 100 ≈ 84.44%.
With no margins full-slab yield equals coverage.
Approximately 84.44% coverage
Precision: Reconciliation uses exact areas; percentage presentation is approximate.
Limitations: Unoccupied area includes clearances and unused regions; it is not actual blade loss or confirmed reusable material.
Saw Kerf, Geometric Free Regions and Potential Offcut Screening
Cutting & Optimization · Intermediate
For each pair: right(A) + kerf ≤ left(B), or reverse, or bottom(A) + kerf ≤ top(B), or reverse; candidates must meet dimension thresholds
A, B
Two finished-piece rectangles being checked (rectangles)
left, right, top, bottom
Axis coordinates of a finished rectangle within the slab (one normalized length unit)
kerf
Required axis separation between finished rectangles (mm)
free region
Disjoint rectangle in usable area outside placed rectangles (mm dimensions)
thresholds
Minimum potential-offcut length and width (mm)
Manual method
Use one normalized length unit for all rectangle coordinates and kerf; 3 mm is 0.003 m.
For each pair, check whether at least one axis has the required clearance. For an 800 mm-wide rectangle starting at x = 0, another may start at x = 803 with 3 mm clearance if containment and all other pair checks pass.
Check candidate free-region length and width against the stated thresholds. Passing dimensions is only screening; do not infer blade loss, cut sequence or reuse suitability.
Worked example
Two 800 × 600 mm pieces, 3 mm kerf; potential-offcut thresholds 300 × 300 mm
Piece A starts x=0; B can start x=803 mm with 3 mm horizontal clearance if both fit the usable slab.
A geometric 400 × 350 mm free rectangle passes 300 × 300 mm screening; 400 × 250 mm does not.
The engine partitions the complement of finished rectangles and validates containment, non-overlap and exact area reconciliation.
Pairwise clearance and candidate screening require geometric validation.
Precision: Integer micrometre geometry validates spacing; bounded partition enumeration can be incomplete and must not publish truncated candidates as complete.
Limitations: Partition is not a unique physical leftover shape. Cut sequence, separability, defects, vein direction, blade paths and reuse suitability are unverified. Optimizer is heuristic; no fabrication instructions.
Core formulas and examples are readable without JavaScript. Search, practice, copying and browser printing controls require JavaScript. Practice values stay in memory and are never automatically saved or sent to a server. Historical fragment links target the corresponding formula card, with a link to its full reader.