Trading Calculators
Size trades, check R:R and breakeven win rate, or open a dedicated calculator.
Quick Risk & R:R Calculator
- Position sizeLong
- 20
- Notional $2,000.00
- Risk ($)
- -$100.00
- 1.00% · Stop 5.00%
- Reward ($)
- +$300.00
- +3.00% · Target 15.00%
- R:R ratio
- 1:3.00
- Breakeven 25.0%
- Risk$100.00 (25.0%)
- Reward$300.00 (75.0%)
- Breakeven win rate
25.0%
0%100%
Minimum win rate to break even at this R:R
- Capital allocation
20.0%
0%100%
Covered by account balance without leverage
Live market data tools
Read-only math in your browser. Darvas never places orders or gives financial advice.
All trading calculators
5 calculators
Position Size Calculator
Units, dollar risk, margin, and 1R/2R/3R target ladder.
Units = (Balance * Risk%) / |Entry - StopLoss|Open calculatorLiquidation Price Calculator
Long/Short isolated & cross liquidation distance and ROE targets.
Long Liq = Entry * (1 - MarginRatio + MMR)Open calculatorFibonacci Calculator
23.6% to 78.6% retracements and 127.2% to 261.8% extensions.
Uptrend Retrace = High - (High - Low) * RatioOpen calculatorPivot Point Calculator
Standard, Fibonacci, Woodie, and Camarilla R1-R3 / PP / S1-S3.
PP = (High + Low + Close) / 3Open calculatorCompound Interest Calculator
Compounding schedule, monthly contributions, and growth chart.
EndBalance = StartBalance * (1 + r) + ContributionOpen calculator
Calculation formulas and assumptions
Every calculator runs deterministic math locally in your browser with zero server delay, explicit formula disclosure, and read-only scenario modeling.
- Position sizing divides dollar risk by exact stop-loss distance and projects 1R, 2R, and 3R targets.
- Liquidation price accounts for side, leverage, isolated or cross margin ratio, and maintenance margin rate.
- Fibonacci and Pivot calculators support both directional trends and four institutional pivot formulas.
- Compound interest tracks monthly contributions, period interest, and cumulative profit with an interactive growth curve.
Results exclude exchange trading fees, funding payments, and slippage.
Seed calculators with live Data API & MCP prices
Read API documentationFetch live spot, perpetual, or macro reference prices from Darvas REST API or MCP to automate sizing and risk calculations in your own scripts.
REST API (https://api.darvas.app/v1)
curl -H "Authorization: Bearer $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/prices/snapshot?ticker=BTC-USDT"MCP Server (https://api.darvas.app/mcp?mode=code)
POST https://api.darvas.app/mcp?mode=code
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "execute",
"arguments": {
"code": "async () => darvas.request({ method: 'GET', path: '/crypto/prices/snapshot', query: { ticker: 'BTC-USDT' } })"
}
}
}Frequently asked questions
Do these trading calculators work for crypto, forex, and stocks?
Yes. All formulas operate on price, balance, leverage, and percentage inputs so they apply to spot equities, forex pairs, commodities, and crypto perpetuals.
Are exchange fees or funding rates included in liquidation estimates?
No. The liquidation formula computes the theoretical margin boundary from entry, leverage, and maintenance margin rate. Actual liquidation occurs slightly earlier when fees apply.