Bench Simulator

Calculation concept + formula + live testing

Review each formula used in the app, understand the reasoning, and test your own values with weighted scenarios like Single, C/C, V/V, and C/V.

Bench topics

7

Weighted presets

4

Backend logic changed

0

Formula Topics

Weighted topics are best explored with the presets below. You can then overwrite any value manually to simulate your own note and instantly inspect the result.

Item Costs
Weighted allocation

Concept

Allocates note taxes to the selected line using its weight inside the full note total.

Formula

item_costs = (line total / sum of all line totals) × total_item_taxes

Demonstration

(9744.54 / 9744.54) × 3.09 = 3.09
Weighted presets
Line inputs

Line 1

Choose which line the formula should evaluate.

R$9,744.54
LineSideQtyUnit costTotalEvaluate
Note-level inputs
Result & step-by-step
Focused on Line 1

Bench result

R$3.09

1

Selected line total = 9744.54

2

Sum of all line totals = 9744.54

3

Total item taxes = 3.09

4

Apply the weighted share to allocate 3.09 to Line 1