Skip to content

    Under active development. New calculators and features ship every week. Everything currently runs free while the site matures — pricing pages are a preview, checkout is not open yet.

    Calculates locally in your browser · FVA, MVA, KVA and collateral
    Banking / XVA

    Funding, margin and capital adjustments

    CVA is only one of the adjustments a derivatives book carries. Funding the exposure costs money, posting initial margin costs money, and holding capital against it costs the most. This prices all three from one exposure profile, with and without a collateral agreement.

    Average EPE$1,100,792Collateral$753,635Total6.9 bp
    Total XVA
    $69,451
    6.9 bp of notional
    Net funding
    $6,324
    FVA $16,395 less FBA $10,071
    Capital charge
    $15,739
    12% cost of equity on 8.0% capital
    Netting benefit
    31%
    Gross $12,859,213 · net $8,844,414 · 95% eligible, 5% disputed
    Adjustment build-up
    Each line is a cost to the desk, expressed in currency and in basis points of notional.
    6.9 bp
    Adjustment build-up
    AdjustmentAmountBasis pointsDriver
    Funding cost (FVA)$16,3951.64 bp1.00% over OIS
    Funding benefit (FBA)-$10,071-1.01 bpReceivable funding
    Margin (MVA)$46,2574.63 bpInitial margin funded
    Capital (KVA)$15,7391.57 bpCost of equity
    Total$69,4516.95 bpFVA − FBA + MVA + KVA
    Average EPE$1,100,792—hump
    Average collateral$753,635—CSA applied

    All four adjustments are costs. The funding benefit is shown negative because it offsets the funding cost.

    Inspect the model
    Choose a quick result view, a scaled comparison, or the complete diagnostic set.
    Exposure against collateral
    Collateral follows the exposure but lags it by the threshold, the MTA and the margin period.
    Exposure against collateral$0$391.6k$783.2k$1174.7k$1566.3k$1957.9k0.30.30.80.81.31.31.81.82.32.32.82.83.33.33.83.84.34.34.84.85.05.0EPECollateral
    Where the adjustment comes from
    On a symmetric profile the funding cost and its benefit nearly cancel, so capital and margin are what is left.
    Where the adjustment comes from-$14.6k-$383$13.8k$28.0k$42.2k$56.4k$16.4kFVAFVA-$10.1kFBAFBA$46.3kMVAMVA$15.7kKVAKVAAmount
    Canonical equations
    The exact relationships implemented by this engine.

    s_f · Σ EPE(t) · DF(t) · Δt · Funding the asset side.

    s_b · Σ NEE(t) · DF(t) · Δt · Benefit on the liability side.

    s_f · Σ IM · DF(t) · Δt · Initial margin is funded for the whole life.

    k_e · Σ K(t) · DF(t) · Δt · K(t) = capital ratio × net exposure.

    finance methodology

    A clear path from inputs to results.

    CVA is only one of the adjustments a derivatives book carries. Funding the exposure costs money, posting initial margin costs money, and holding capital against it costs the most. This prices all three from one exposure profile, with and without a collateral agreement.

    Step-by-step methodWorked exampleAssumptions explained

    How to use

    1. Set the notional, the peak expected exposure and the tenor.
    2. Choose the shape of the exposure profile.
    3. Enter the funding spread over OIS and the cost of equity.
    4. Set the capital ratio and the initial margin.
    5. Turn the CSA on and set the threshold, MTA and exposure volatility.

    The formula

    FVA=sf∑EPE(t) DF(t) Δt  ;  KVA=ke∑K(t) DF(t) Δt\mathrm{FVA} = s_f \sum EPE(t)\,DF(t)\,\Delta t \;;\; \mathrm{KVA} = k_e \sum K(t)\,DF(t)\,\Delta t

    Reference: XVA framework: FVA/FBA (Albanese & Andersen), MVA and KVA as the cost of funding margin and capital.

    Worked example

    $100m notional, $8m peak EPE, 5 years, 1% funding

    Inputs
    • Notional $100,000,000, peak expected exposure $8,000,000, tenor 5 years.
    • Hump-shaped profile, funding spread 1% over OIS, discounting at 3%.
    • Cost of equity 12%, capital 8% of exposure, initial margin 1%.
    • CSA with a $2m threshold and a $250k MTA, exposure volatility $3m.
    Calculation path
    1. 1

      The hump profile averages $5.32m of EPE over the five years.

    2. 2

      The CSA leaves $0.70m of collateral on average: the threshold, half the MTA and the margin soak up the rest.

    3. 3

      FVA is $214,537 and the funding benefit on the liability side is $246,917, so net funding is a $32,380 benefit.

    4. 4

      MVA on $1m of initial margin is $46,257; KVA at 12% of 8% capital is $205,956.

    5. 5

      Total XVA is $219,833, or 22 basis points of notional.

    Result

    Total XVA $219,833 · 22 bp · KVA is the surviving cost.

    Interpreting the result

    On a symmetric profile the funding cost and the funding benefit almost cancel, which is why net funding is small here. What survives is capital: a 12% return on 8% capital is nearly 1% of exposure a year, and it does not go away when the trade is hedged. That is why desks manage KVA as carefully as CVA.

    Assumptions & limitations

    • Flat funding spread and deterministic discounting; no collateral optionality.
    • CSA exposure is available as a closed form or applied path by path with a margin period of risk.
    • A netting set sums the trades inside each path before the positive part is taken.
    • Initial margin is funded for the whole life at the funding spread.
    • Capital is proportional to the net exposure, not to a regulatory RWA calculation.

    Frequently asked questions

    Why is the net funding benefit negative here?

    The profile is symmetric, so the funding benefit on the liability side exceeds the cost on the asset side. In practice a desk only gets the benefit where it can actually reinvest collateral.

    Why does KVA dominate?

    Because capital is held on the whole net exposure for the whole life, and the cost of equity is several times the funding spread. A 12% return on 8% capital is close to 1% a year.

    What does a tighter CSA do?

    It cuts the funding cost and raises the collateral operations burden. The threshold and MTA are the two dials that trade those off.

    How does this relate to CVA?

    CVA is the credit mark on the counterparty; FVA, MVA and KVA are the cost of financing the position. A trade can be CVA-neutral and still lose money on KVA.

    Methodology last reviewed 2026-10-21. Results are informational and not financial or engineering advice — see our disclaimer.