1 · Select product
2 · Cost (purchased in USD)
3 · Selling channel
Retail SRP
Hotels
Restaurants / Cafés
Corporate bulk
OTC (mark-up)
Custom price
Cost & profit breakdown per pack · USD and SGD
USD figures follow the price list: purchase costs convert at the cost rate (USD→SGD), selling prices and profit at the price rate (SGD→USD).
All channels compared
Reverse calculator · target → selling price
Margin = profit ÷ selling price. Mark-up = profit ÷ cost. A 50% margin equals a 100% mark-up.
Quote builder
Click any row to open it in the calculator.
FOB / CIF (USD)Incl. W/hsg2026 SRPHotelsRestaurants / Cafés
Converter
Rates (units per 1 USD)
Market rates are for reference and quoting in other currencies. Costing still uses the company rates in the header (USD→SGD 1.40 cost / 1.30 price) so results match the master price list. The pre-set rates are approximate placeholders — click “Fetch live rates” (fills all ~150 world currencies) or type your own.
Inventory system connection
Field mapping your API → calculator
Dot paths are supported (e.g.
data.items, pricing.cost). Leave a field blank to ignore it. Items from your system that aren’t in the price list are added under “From inventory”.Activity log
Payload preview · current calculation
Integration notes
1. REST (above). The calculator calls your inventory API directly from the browser, so the API must allow CORS from wherever this page is hosted. Keep keys out of shared links — ideally point it at a Cloudflare Worker that holds the real key.
2. Embed (iframe / postMessage). Your inventory app can embed this page and ask it to price an item:
2. Embed (iframe / postMessage). Your inventory app can embed this page and ask it to price an item:
frame.contentWindow.postMessage({type:'dta:calc', id:1,
code:'310060A', qty:24, channel:'hotel'}, '*');
// reply → {type:'dta:result', id:1, result:{…same JSON as payload preview…}}
// also: {type:'dta:stock', items:[{code:'310060A', stock:120}]} to push stock in
3. JavaScript. When loaded in the same page: DTACalc.calculate({code, qty, channel, buyUSD, overheadPct, extraDiscPct, customSGD}), DTACalc.products(), DTACalc.setStock([{code,stock}]).