Examples
Examples
Try the starting example
- Furniture: name, length, width, height cm
- Sofa,200,80,80 Armchair,80,80,90
- Covers: name, inside length, width, height cm, price $
- Large,220,100,100,30 Small,100,100,100,20
- Extra allowance per side and at top (cm)
- 5
- Cheapest fitting cover by furniture item
- Sofa: Large; Armchair: Small
- Total matched-cover purchase ($)
- $50.00
- Unmatched furniture
- None
- Surplus internal cover volume above required envelope (cm³)
- 824000
Try another scenario
- Furniture: name, length, width, height cm
- Sofa,200,80,80 Armchair,80,80,90
- Covers: name, inside length, width, height cm, price $
- Large,220,100,100,30 Small,100,100,100,20
- Extra allowance per side and at top (cm)
- 0
- Cheapest fitting cover by furniture item
- Sofa: Large; Armchair: Small
- Total matched-cover purchase ($)
- $50.00
- Unmatched furniture
- None
- Surplus internal cover volume above required envelope (cm³)
- 1344000
Calculation method
Calculation method
Cheapest fitting cover by furniture item
Require length+2×allowance, width+2×allowance and height+allowance. Allow a 90-degree base rotation; choose the cheapest fitting cover, breaking price ties by input order.
Total matched-cover purchase ($)
Sum chosen cover prices, assuming unlimited stock.
Unmatched furniture
List items for which no supplied cover fits.
Surplus internal cover volume above required envelope (cm³)
Sum chosen internal cover volume minus each required allowance envelope; matched items only.
Symbols and units
- a
- Furniture: name, length, width, height cm
- b
- Covers: name, inside length, width, height cm, price $
- c
- Extra allowance per side and at top (cm)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Compares rectangular internal cover envelopes. The extra allowance is added on two horizontal sides and at the top, with no added bottom allowance. No stretch, waterproofing or seam-shape suitability is inferred.
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.
Further reading
OpenStax: arithmetic and geometry ↗
Background reading; this does not imply endorsement or independent review of SumFizz.