Calculators
After-tax cost of debt API
After-tax cost of debt Rd*(1-Tc), with the pre-tax rate supplied directly or derived as interestExpense/totalDebt, returning the tax shield. Deterministic and auditable. Answers 'after-tax cost of debt at 6% and 21% tax','cost of debt from interest expense','what is the debt tax shield'.
Price$0.01per request
MethodPOST
Route/v1/calc/val-cost-of-debt
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcvaluationcost-of-debtwacctax-shieldleveragefinanceinterest
API URL
Integration docshttps://x402.hexl.dev/v1/calc/val-cost-of-debtExample request
{
"rate": 0.06,
"taxRate": 0.21
}Example response
{
"pretaxCostOfDebt": 0.06,
"afterTaxCostOfDebt": 0.0474,
"afterTaxCostOfDebtPercent": 4.74,
"formula": "Rd_aftertax = Rd * (1 - taxRate)",
"breakdown": {
"pretaxRate": 0.06,
"taxRate": 0.21,
"taxShield": 0.0126
}
}Input schema
{
"type": "object",
"required": [
"taxRate"
],
"properties": {
"rate": {
"type": "number",
"description": "Pre-tax cost of debt as a decimal",
"examples": [
0.06
]
},
"interestExpense": {
"type": "number",
"description": "Annual interest expense; supply with totalDebt instead of rate",
"examples": [
60
]
},
"totalDebt": {
"type": "number",
"examples": [
1000
]
},
"taxRate": {
"type": "number",
"description": "Marginal tax rate as a decimal",
"examples": [
0.21
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}