DCA Liquidation Calculator
Add your DCA legs (price, margin, leverage). The calculator computes average entry, effective leverage, and approximate liquidation for long or short. Defaults assume isolated margin and a simple maintenance margin rate.
| Entry Price | Margin | Leverage (x) | Position Value | Remove |
|---|
Tip: Position Value = Margin Γ Leverage. Quantity for each leg is Position Value Γ· Price. Effective leverage is computed from your total nominal and total margin.
Formulas (isolated):
Quantityi = (Margini Γ Levi) Γ· Pricei.
AvgEntry = TotalNominal Γ· TotalQty. EffectiveLev = TotalNominal Γ· TotalMargin.
Bankruptcy: Long = AvgEntry β (TotalMargin Γ· TotalQty); Short = AvgEntry + (TotalMargin Γ· TotalQty).
Liquidation (approx): Long = (AvgEntry β IM/Q) Γ· (1 β mm); Short = (AvgEntry + IM/Q) Γ· (1 + mm). Here IM/Q = TotalMargin Γ· TotalQty, mm = maintenance margin rate.
Futures Profit Calculator
Calculate P&L and ROE for long or short trades. Optionally include taker fees.
Formulas:
Position = Margin Γ Leverage; Quantity = Position Γ· Entry.
Long P&L = (Exit β Entry) Γ Qty; Short P&L = (Entry β Exit) Γ Qty.
Fees (approx, taker) = (Fee% Γ· 100) Γ (Entry Γ Qty + Exit Γ Qty).
ROE% = Net P&L Γ· Margin Γ 100.