SOFR OIS Curve Bootstrapping in Excel: Step-by-Step Lab

Last Verified Against @marketwizardry/quant-core & Live RFR Conventions: December 3, 2026 · Market Wizardry Desk (G10 Rates Structurer MD)

Desk Verdict · Direct Answer

SOFR OIS curve bootstrapping is the sequential extraction of exact zero-coupon discount factors D(0, ti) from liquid overnight index swap par quotes so every market pillar reprices to exactly Net PV = $0.00. In Excel, combine EDATE, YEARFRAC(…, 2) (ACT/360), SUMPRODUCT, and piecewise log-linear interpolation—zero VBA required—to achieve machine-precision 1.87e-16 par accuracy.

Textbooks still teach 1998 single-curve LIBOR stripping with 30/360 stubs and flat discount factors. On an actual G10 rates desk, quoting off a single-curve spreadsheet gets your risk limit pulled before 7:15 a.m. Since the LIBOR cessation, USD swaps project compounded-in-arrears SOFR and discount on the SOFR OIS curve under a USD cash CSA. Every pillar from 1M out to 30Y is locked by two closed-form accounting identities:

Core Bootstrapping Identities (USD SOFR OIS · ACT/360)

1. Money-Market Deposit (1M, 3M):  D(0, T) = 1 / (1 + rpar × α(0, T))

2. Annual OIS Swap Pillar (6M–30Y):  D(0, Tn) = [1 − rpar,n × Σk=1..n−1 αk D(0, tk)] / (1 + rpar,n × αn)

3. Log-Linear Interpolation & Zero Rate:  ln D(0, t) = ln D(0, tj−1) + [(t − tj−1) / (tj − tj−1)] × [ln D(0, tj) − ln D(0, tj−1)],   z(t) = −ln D(0, t) / t

1. Verified USD SOFR OIS Strip Table (2026 Multi-Speed Regime)

Below is the exact 8-pillar USD SOFR OIS strip from Market Wizardry’s 2026-normalized-multi-speed regime, bootstrapped deterministically in @marketwizardry/quant-core (and replicated across 854 live zero-VBA formulas in Bootstrapping Robes V2, MW-01, with 1.87e-16 verified SOFR par repricing error; worst-case par error across all 20 historical OIS curves in the engine is 9.159e-16):

Pillar Instrument Par Rate Discount Factor D(0, t) Cont. Zero z(t) Implied Segment Fwd
1M Deposit (ACT/360) 3.42% 0.997119 3.4625% 3.4200%
3M Deposit (ACT/360) 3.40% 0.991456 3.4325% 3.3802%
6M OIS Swap 3.38% 0.983154 3.3979% 3.3313%
1Y OIS Swap (Annual) 3.36% 0.967056 3.3499% 3.2837%
2Y OIS Swap (Annual) 3.44% 0.933706 3.4297% 3.5229%
5Y OIS Swap (Annual) 3.62% 0.834780 3.6117% 3.8961%
10Y OIS Swap (Annual) 3.84% 0.680719 3.8461% 4.4644%
30Y OIS Swap (Annual) 4.12% 0.285584 4.1774% 6.8232%

Notice the textbook sanity check embedded in the numbers: beyond 2Y, the curve slopes upward (2s10s = +40 bps), so Forward > Zero > Par holds cleanly at 10Y (4.4644% > 3.8461% > 3.84%). Flip the regime to Q4 2023’s inverted -56 bps 2s10s curve (2Y = 4.84%, 10Y = 4.28%), and the ordering inverts cleanly to Par > Zero > Forward at the belly (5Y: 4.36% > 4.3009% > 4.1709%).

2. Live Excel F2 Formula Walkthrough (Zero VBA, Exact Par)

Every desk interview asks whether you can build this without hiding behind Goal Seek macros or circular references. Here is the exact zero-VBA architecture used inside Bootstrapping Robes V2 (MW-01, 854 auditable formulas):

  1. Generate Annual Payment Dates (EDATE): Anchor spot date T+2 in cell $C$4. For coupon period k (in months 12, 24, …, 360), compute the roll date with =EDATE($C$4, B10).
  2. Compute Exact ACT/360 Accrual Factors (YEARFRAC): Pass basis code 2 (actual/360) on every period: =YEARFRAC(C9, C10, 2). Never hardcode 1.0—over a standard 365-day year, ACT/360 accrues 365/360 = 1.013889 (a 1.389% cash gap vs. ACT/365F).
  3. Strip Known Pillar Discount Factors (SUMPRODUCT): At any annual pillar row n where prior annual discount factors sit in $F$9:F14 and accruals sit in $D$9:D14:
    =(1 - E15 * SUMPRODUCT($D$9:D14, $F$9:F14)) / (1 + E15 * D15)
  4. Handle Multi-Year Gaps (2Y → 5Y, 5Y → 10Y) Cleanly: Between non-adjacent market pillars (e.g., 3Y and 4Y inside the 2Y–5Y span), interpolate ln D(0, t) linearly using INDEX/MATCH so intermediate discount factors remain strictly positive and smooth, then lock the 5Y pillar D(0, 5) so the floating leg 1 - D(0, 5) equals the fixed leg r_5Y * SUMPRODUCT(α, D) to 1.87e-16.
  5. Verify Implied Forward & Par Check: Confirm = (F14/F15 - 1) / D15 matches your floating projection leg and check that Fixed PV - Float PV = $0.00 on every pillar before touching sensitivities or a +100 bps parallel shock grid.

Rookie Trap (Gets Dinged in Superdays)

  • Linearly interpolating par swap rates between 2Y and 5Y instead of interpolating ln D(0, t)—creating jagged forward-rate sawtooths and arbitrage.
  • Using YEARFRAC(…, 0) (30/360) or hardcoded 0.25 / 1.0 on a SOFR OIS leg, introducing an immediate 5/360 accrual drift.
  • Assuming Float PV = Notional × r × T instead of the exact telescopic OIS identity 1 − D(0, T).

Desk Standard (G10 Rates Floor)

  • Strip directly on piecewise log-linear discount factors via Dekker-Brent root-finding (tol = 1e-15), guaranteeing D(0, t) > 0 and piecewise-flat instantaneous forwards.
  • Enforce exact ACT/360 for SOFR/ESTR and ACT/365F for SONIA/SORA/TONA via deterministic date arithmetic.
  • Audit every curve against |Par PV| < 1e-8 and partition-of-unity Key-Rate PV01 buckets (1Y/2Y/5Y/10Y/30Y).

3. Verify Your Spreadsheet Against marketwizardry-mcp in 10 Seconds

Never ask a standalone LLM to check your Excel discount factors—it will hallucinate rounded exponentials. Connect Claude, Cursor, Antigravity, or ChatGPT to Market Wizardry’s Free Starter MCP via zero-install remote HTTP (https://mcp.marketwizardry.xyz/mcp, no API key required) or local npx -y marketwizardry-mcp, then run this exact tool call (424 tokens, < 1 ms):

// Tool: bootstrap_curves (Tier 0 Free Starter — Remote https://mcp.marketwizardry.xyz/mcp or npx -y marketwizardry-mcp)
{
  "currency": "USD",
  "regimeId": "2026-normalized-multi-speed"
}

Interactive Lab & Open-Formula Excel Companion

Shock This Exact USD SOFR Curve +100 bps Live—Or Hit F2 on All 854 Formulas

Run the exact same @marketwizardry/quant-core engine directly in your browser (zero signup), or download Bootstrapping Robes V2 ($49)—100% unlocked Excel with zero VBA, 1.87e-16 SOFR par repricing, PV01 ladder, and a 2D shock grid (also included in the $119 120-Day Sprint and $249/yr Pro Annual / $129/yr .edu via EDU-DESK50, backed by our 14-Day Desk-Grade Math Guarantee).

Quick Desk FAQ: SOFR OIS Bootstrapping in Excel

Why does SOFR OIS bootstrapping use log-linear discount factor interpolation instead of linear par-rate interpolation?

Piecewise log-linear interpolation on ln D(0, t) guarantees strictly positive discount factors D(0, t) > 0 and smooth, piecewise-flat instantaneous forward rates between pillars. Linearly interpolating par swap rates injects artificial kinks into forward rates and breaks exact par repricing on multi-year spans such as 2Y to 5Y.

Which Excel YEARFRAC basis code matches USD SOFR OIS conventions?

Use basis code 2 in Excel, YEARFRAC(start_date, end_date, 2), which computes exact ACT/360 day-count fractions. Using basis code 0 (30/360) or 3 (ACT/365F) introduces a 365/360 = 1.389% annual cash accrual error on USD SOFR and EUR ESTR swaps.

Can you bootstrap an institutional SOFR OIS curve in Excel without VBA macros?

Yes. Market Wizardry's Bootstrapping Robes V2 (MW-01) builds a complete multi-pillar USD SOFR OIS strip and IRS pricer across 854 open Excel formulas using EDATE, YEARFRAC, SUMPRODUCT, and INDEX/MATCH with zero VBA macros, reproducing par quotes to 1.87e-16 accuracy.

Back to blog