Discount & Markup Calculator
Calculate sale price, profit margin, markup, discounts and stacked discounts. Five modes: markup, margin, discount, reverse discount, and stacked (compounded) discounts — with a full breakdown.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Calculation Mode
markup, margin, discount, reverse, stacked Cost Price
x >= 0Markup %
x >= 0Sale Price
x >= 0Original Price
x >= 0Discount %
0 <= x <= 100Final (Discounted) Price
x >= 0Discount 1 %
0 <= x <= 100Discount 2 %
0 <= x <= 100Discount 3 % (optional)
0 <= x <= 100Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.