Discount Calculator
Find the sale price after one or more stacked discounts, with optional tax.
Discounts (applied in order)
#1%
Total
$80.00
Discounted price
$80.00
You save
$20.00
Effective discount
20.0%
Tax
$0.00
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/discount-calculator/run \
-H "Content-Type: application/json" \
-d '{
"originalPrice": 1,
"discounts": [
1
],
"taxPercent": 0,
"taxOnDiscounted": true
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/discount-calculator/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"originalPrice": 1,
"discounts": [
1
],
"taxPercent": 0,
"taxOnDiscounted": true
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_discount_calculatorFull reference: developer docs · OpenAPI spec
About stacked discounts
When you stack discounts, each one applies to the result of the previous — not to the original price. Two 10% discounts back to back don't make 20% off; they make 19% off (0.9 × 0.9 = 0.81).
You might also like
- Compound Interest CalculatorSee how much an investment grows over time with compounding and optional regular contributions.
- Savings Goal CalculatorFind out how much to save each month to hit a target — or what your savings will be worth.
- Loan CalculatorCalculate monthly payments, total interest, and a full amortization schedule for any loan.
- Mortgage CalculatorEstimate your monthly PITI — principal, interest, property tax, insurance, and PMI.