PnLLiquidationBreak-evenTarget ExitPosition SizerFunding CostAverage EntryScenarioMax LeverageFunding ArbHedge RatioCompound FundingCrypto ProfitCrypto DCAAverage Buy PriceTarget Sell PricePresent ValueFuture ValueNPVIRRCAGRAPY / APRBond PricePre-Trade CheckRisk / RewardPortfolio RiskCarry TradeDCA EntryAverage Down?Scale-OutFunding BreakevenRug Pull CheckerSwap Price ImpactBonding CurveMarket Cap CalculatorWallet CheckerImpermanent Loss CalculatorProbability CalculatorMarket-Implied OddsKelly CalculatorUp/Down Fair ValueSpread CheckerArbitrage CheckerBlack-Scholes CalculatorOptions Payoff CalculatorStraddle & Strangle CalculatorCovered Call & Protective Put CalculatorImplied Volatility CalculatorSpread & Iron Condor CalculatorBarrier Touch CalculatorAmerican Option CalculatorOption Greeks CalculatorOptions Profit CalculatorOptions Strategy PickerMax Pain CalculatorCash-Secured Put CalculatorPip Value CalculatorMargin Level CalculatorBreakeven CalculatorPnL CalculatorRisk/Reward CalculatorScenario CalculatorAverage Entry CalculatorMargin Required CalculatorCurrency ConverterPosition Size CalculatorSwap / Rollover CalculatorCorrelation CalculatorFibonacci Retracement CalculatorOpen AnalysisSession StructureValue MigrationBreakout AcceptanceVaR / CVaR CalculatorSharpe Ratio CalculatorHurst Exponent CalculatorCointegration TestPortfolio TearsheetGARCH Volatility CalculatorRisk Parity CalculatorDeflated Sharpe Ratio CalculatorKelly Growth-Security FrontierReturn Unsmoothing CalculatorEVT Tail Risk CalculatorMonte Carlo Simulation CalculatorEvent Study CalculatorOrder-Book Impact CalculatorDocs

Should I open this trade?

WORKFLOW · PRE-TRADE CHECK · ADVANCED

Most traders open first and check the math later. Enter your setup and see position size, liquidation distance, carry cost, and safety classification instantly.

I open
on
atUSDTBTC
Stop-loss price
Price level, not loss amount
USDT
Available margin
Free margin in account
USDT
Risk
= $100.00
%
Leverage
x
?

Pick an instrument first

Select exchange and pair to get started.

Use via API or MCP

The whole pre-trade check is available as a deterministic call, workflow.run_pre_trade_check: useful for bots or AI agents that must size, price and safety-check a trade before sending an order.

EMBED ON YOUR SITE

<!-- TradingCalc widget: please keep the link below exactly as given (address and words) -->
<div class="tradingcalc-widget" data-widget="pre-trade-check"><a href="https://tradingcalc.io/pre-trade-check?utm_source=embed&amp;utm_medium=backlink&amp;utm_campaign=pre-trade-check">Pre-trade check by TradingCalc.io</a></div>
<script async src="https://tradingcalc.io/embed.js"></script>

Free, no signup. Keep the text link in the code exactly as given, with its address and its words: it is the attribution and it points visitors to the full calculator. Change colors, size and start values or read the installation guide and FAQ.

FAQ
Q.01

What assumptions and edge cases does this calculator use?

Entry price and leverage must be above zero and the account balance zero or more. Give either the size you want, or a stop loss together with the percent of the account you risk; with neither you get an error. The funding rate is a decimal per interval and, if you leave it out and name an exchange, it is read live. Hold hours default to 8. Not covered: slippage, tiered margin, a funding rate that changes during the hold, and where price will go. The verdict is about setup safety only.

Q.02

What does a pre-trade check calculate?

It runs four calculations at once: recommended position size based on your risk tolerance, breakeven price including fees, liquidation distance, and total funding cost for your planned hold time.

Q.03

What is the "risk %" field?

The percentage of your account balance you are willing to lose if the stop-loss is hit. For example, 1% risk on a $10,000 account means you risk $100 on this trade.

Q.04

How is position size calculated from stop-loss and risk?

Position size = (account balance × risk%) / (|entry − stop-loss| / entry). The formula sizes the trade so the stop-loss loss equals exactly your risk budget.

Q.05

What does "Safety" mean in the results?

Safety classifies the setup: Clear means liquidation is far and costs are low, Warn means the liquidation price is close or funding is high, Impossible means the position cannot be opened with your current parameters.

Q.06

Why does the funding cost change when I change hold time?

Funding is charged every 8 hours (or 1 hour on some exchanges). Total funding cost = position size × funding rate × (hold hours / interval hours). Longer holds multiply the cost linearly.