Calculators
Break-even price calculator API
Compute the break-even exit price covering round-trip fees: long BE = entry·(1+feeIn)/(1−feeOut) (short inverts), plus the required % move. Deterministic trading math. Answers 'what price do I break even at','move needed to cover fees','break-even after taker fees'.
Price$0.01per request
MethodPOST
Route/v1/calc/cryptocalc-break-even-price
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calccryptotradingbreak-evenfeestakermakerpnl
API URL
Integration docshttps://x402.hexl.dev/v1/calc/cryptocalc-break-even-priceExample request
{
"entryPrice": 30000,
"feeIn": 0.001,
"feeOut": 0.001,
"side": "long"
}Example response
{
"formula": "BE = entry·(1+feeIn)/(1−feeOut)",
"side": "long",
"entryPrice": 30000,
"feeInPct": 0.1,
"feeOutPct": 0.1,
"breakEvenPrice": 30060.06006006,
"requiredMovePct": 0.2002
}Input schema
{
"type": "object",
"required": [
"entryPrice"
],
"properties": {
"entryPrice": {
"type": "number",
"examples": [
30000
]
},
"feeIn": {
"type": "number",
"description": "entry fee (decimal)",
"examples": [
0.001
]
},
"feeOut": {
"type": "number",
"description": "exit fee (decimal)",
"examples": [
0.001
]
},
"side": {
"type": "string",
"enum": [
"long",
"short"
],
"examples": [
"long"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}