Examples
Examples
Try the starting example
- JSON Zones [colour ID,area m²,tested coverage m²/litre,coats]
- [["blue",20,8,2],["white",12,10,2]]
- Supplied reserve fraction
- 0.1
- Paint by zone (litres)
- [["blue",5.5],["white",2.64]]
- Total paint across colours (litres)
- 8.14
Try another scenario
- JSON Zones [colour ID,area m²,tested coverage m²/litre,coats]
- [["blue",20,8,2],["white",12,10,2]]
- Supplied reserve fraction
- 0.2
- Paint by zone (litres)
- [["blue",6],["white",2.88]]
- Total paint across colours (litres)
- 8.88
Calculation method
Calculation method
Paint by zone (litres)
J([[r[0],r[1]*r[3]/r[2]*(1+b)] for r in a])
Total paint across colours (litres)
sum(r[1]*r[3]/r[2]*(1+b) for r in a)
Symbols and units
- a
- JSON Zones [colour ID,area m²,tested coverage m²/litre,coats]
- b
- Supplied reserve fraction
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Calculation steps and notation
sum(list) adds all entries in the list.
Assumptions & limits
Assumptions & limits
- User-tested coverage per coat on comparable substrate; positive coverage, integer coats, nonoverlapping colour zones. Cannot interchange leftovers across colours. Supported limits: All numeric inputs must be finite. Only the explicitly described mathematical scenario is supported.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.