October 7, 2026

Mark to Market Calculation Explained with an Example

Author:
Ahmed Babikir
Author:
Ali Vohra
Author:
Sérgio Araújo
Author:
Gleb Pilipenko
Flowchart of a swap mark to market calculation: from the valuation date, fixed and floating leg cashflows are each discounted with OIS discount factors, MTM equals the PV of the floating leg minus the PV of the fixed leg, and a positive MTM is in the money for the fixed payer

When it comes to valuing interest rate swaps, mark-to-market (MTM) helps you understand the market value based on current market rates. In this post, we’ll strip away the jargon and show you exactly how the mark to market calculation works, using BlueGamma Solar’s interest-rate swap as our case study.

Mark to Market Calculation - What is it

At its simplest, a mark to market calculation discounts every future cashflow back to today’s date, giving you a single net value:

  1. Future payments (fixed and floating)
  2. Discount each one using the current yield curve
  3. Sum the present values
  4. Subtract fixed-leg from floating-leg
  5. Result = today’s swap value (positive or negative)

How the calculation works for an Interest Rate Swap

1. List Future Cash Flows

  • Fixed-leg: semi-annual coupons at 2.50% p.a. on each notional tranche
  • Floating-leg: benchmark rate (e.g. 1-month EURIBOR and 6-month Euribor) on the notionals, resetting each period

2. Fetch the Yield Curve

Take the forward curves and the OIS discount curve as at your valuation date. In the example below we use the EURIBOR forward curves and the €STR discount curve as at 30 April 2025.

3. Calculate Present Values

Use your 1-month and 6-month EURIBOR forward curve to get each forward rate

Compute each cashflow

CFifloat = N × f(ti−1, ti) × τi

where N is the notional for the period, f(ti−1, ti) is the forward rate for the period from the forward curve, and τi is the accrual fraction under the day count convention. Fixed leg cashflows work the same way, with the fixed rate in place of the forward rate.

Discount both sets of cashflows using OIS‐derived discount factors

PV = Σi CFi × D(0, ti)

where D(0, ti) is the discount factor from the valuation date to the payment date ti.

4. Sum Up Each Leg

  • PV(fixed) = total of discounted fixed payments
  • PV(floating) = total of discounted floating payments

5. Compute MTM

MTM = PV(floating) − PV(fixed)

From the fixed-rate payer’s side, a positive MTM means the swap is in the money: if it were closed out, the floating-rate payer would pay you. A negative MTM means it is out of the money: you would pay to close it.

Prefer video? Watch the calculation explained in under three minutes on our YouTube channel.

The BlueGamma Solar Example

BlueGamma Solar is a hypothetical solar project that draws down debt between January 2026 and June 2030 and hedges each tranche with a 2.50% fixed swap. We value the swap as at 30 April 2025. Here’s the notional schedule:

Period startPeriod endNotional (EUR)
01 Jan 202631 Jan 202655,893,495
31 Jan 202628 Feb 202656,887,342
………
30 Jun 203031 Dec 20307,866,800

The schedule runs in monthly periods during the drawdown and semi-annual periods after it; the middle rows are omitted here. Fixed payments fall due semi-annually until December 2030, with floating payments on the same dates.

MTM Result & Interpretation

Plugging in the cash flows and discounting at 30 Apr 2025 provides us with a value:

MTM = -EUR 1,027,627

In plain English, the fixed-rate side (BlueGamma Solar) is out of the money by just over one million euros at the 30 April 2025 valuation date. Rates have moved since then, so the same swap valued today gives a different number; the method does not change.

Why we calculate Mark to Markets

A mark-to-market calculation is far more than an accounting line on your balance sheet. It’s a decision-making tool:

  • Counterparty Exposure
    MTM tells you exactly how much you’d gain or lose with each swap counterparty. Banks and funds use it to set credit limits, anticipate margin calls and avoid nasty surprises if markets swing.
  • Break-Cost Estimation
    Planning to refinance or restructure debt? MTM shows the penalty - or windfall - of unwinding your swap early. That way you can budget for any break fees and negotiate smarter terms.
  • Strategic Decision-Making
    With real-time swap values in hand, you can choose whether to hold your hedge, renegotiate the rate or close out entirely - rather than flying blind on outdated book numbers.
  • Regulatory & Reporting Compliance
    Auditors and regulators demand fair-value numbers. MTM keeps your P&L honest, your balance sheet transparent and your stakeholders reassured.

How to run a mark to market in BlueGamma

You can run the same calculation on your own swap in the BlueGamma app, using live curves or a past valuation date:

  1. Open My Swaps. Sign in to BlueGamma and go to My Swaps.
  2. Price a Swap. Enter the index, dates and notional. For an amortising or drawdown profile like the one above, paste the schedule in as notionals, and tick Two payment frequencies if the swap pays monthly during construction and semi-annually afterwards.
  3. Mark as traded. Enter the fixed rate from your trade confirmation. The swap moves to the Traded section.
  4. Open the swap. The valuation page shows the MTM with and without accrued interest (dirty and clean MTM), the replacement rate, the PV01, and the forecast payments behind the number.
BlueGamma swap valuation page for a 10-year SONIA swap, showing the mark-to-market, clean MTM, accrued interest, fixed rate, replacement rate and PV01
The valuation page for a sample 10-year SONIA swap. The fixed rate (4.75%) is above the replacement rate (4.58%), so the fixed payer is out of the money and the MTM is negative.

The clean MTM excludes interest accrued since the last payment date, which makes it the figure usually used for hedge accounting and for comparing valuations across dates. The Swap Mark-to-Market guide in our documentation covers every field on the page, and the MTM calculator page shows what the tool does.

Try BlueGamma free for 14 days