Spline Interpolation Calculator
Natural cubic spline through tabulated (x, y). Same engine as Numerical Interpolation. Not Akima, PCHIP, or regression. Runs locally.
Enter values to calculate.
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published methods
- Input interpretation
- Enter values to calculate.
- Result
- —
- Verified scope
- all published methods
- Assurance
- Core
- Declared partition coverage
- PASS · 9/9 declared partitions (ordinate-lagrange, linear, lagrange, spline, normalized-spline, node-identity, scaled-data, numerical-range, invalid-domain) · Matrix
- Known limitations
- Core CVP does not include live graph, viewport, or pointer interaction.
- Model
- y at x from tabulated points by a natural cubic spline, with an engine-linked figure of the nodes and S(x).
- Scope
- The Result Card includes an engine-linked figure of the tabulated nodes and S(x) (query marker is published y; n>16 reads points from inputs, not a REST field). Same natural cubic spline as REST/MCP. Not Akima / PCHIP / regression.
- Verification
- Engine tested · Specification checked · v1.1.4 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published methods· View Manifest · CVP overview · Specification
- Versions
- Calculation 1.1.4 · CVP protocol 1.0.0-proposed · Evidence 2026-10-07.lagrange-ordinate-range
- Verification revision
- 2026-10-07.lagrange-ordinate-range · 1/1 property · digest 3fa94aacf696
- Legacy regression
- 13/13 tests · Production surface contract 6/6
- Trust layers
- Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
- Reference
- O1 model · O2 expected_values · O2 numerical_behavior
- Interfaces
- PASS · UI (SSR) / REST / MCP
- Supplemental domain review
- Not performed
- Named expert review
- Not performed
- CVP suite
- 39/39 golden · 8/8 CVP boundary · 14/14 invalid · 1/1 property · 10/10 cross-interface · 1/1 cross-calculator · 6/6 CVP contract · Manifest
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 4 legacy golden · 2 legacy boundary · legacy regression suite · 39/39 oracle-backed golden · 14/14 invalid · Artifact integrity PASS
- Semantic contract
- PASS
Full verification
Formulas
Core equations used by this calculator.
How to use
Enter tabulated points
At least two pairs with unique x. Linear and Lagrange live on the canonical interpolation page.
Evaluate at x
The spline passes through every node. Outside [x_min, x_max] requires extrapolate. The figure shows the nodes, S(x), and the query.
Example calculations
Common configurations with formula and result.
Two-point = linear
(0,0) and (10,20) at x=5
Three-point natural spline
(0,0), (1,1), (2,0) at x=0.5
Spline Interpolation calculator specification
Version 1.1.4 · Engine tested
- Engine tested 13/13 tests · Production surface contract 6/6
- Named expert review Not performed
- Calculation version 1.1.4
- Definition
- A natural cubic spline is a piecewise cubic with continuous S and S′ and S″=0 at the ends. This page is method=spline on math.numerical.interpolate. Two points reduce to linear. Not a second interpolator. Not Akima, PCHIP, or least-squares regression.
- What it calculates
- y at x from tabulated points by a natural cubic spline, with an engine-linked figure of the nodes and S(x).
- Inputs
- x
- points?
- x0?
- y0?
- x1?
- y1?
- extrapolate?
- Outputs
- y
- n
- in_range
- extrapolated
- Formula
natural cubic spline (S″=0 at ends)- Assumptions
- The Result Card includes an engine-linked figure of the tabulated nodes and S(x) (query marker is published y; n>16 reads points from inputs, not a REST field). Same natural cubic spline as REST/MCP. Not Akima / PCHIP / regression.
- Unique x; sorted internally
- Natural ends, not clamped
- Not Akima / PCHIP / regression
- Units
- dimensionless
- Boundary conditions
- Nonfinite table width or interpolated result → NUMERICAL_RANGE_ERROR
- x outside table without extrapolate → VALUE_OUT_OF_RANGE
- duplicate x → INVALID_INPUT
- unknown method (including akima) → INVALID_MODE
- Example
- spline (0,0)(1,1)(2,0) x=0.5 → 0.6875
- Validation cases
2 published on this page · 13/13 tests · Production surface contract 6/6 · View evidence
- points=0,0;1,1;2,0 x=0.5 → y=0.6875
- method=akima points=0,0;1,1 x=0.5 → INVALID_MODE
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.1.4
Related tools
Other calculators in this family: Brent Method Calculator, Definite Integral Calculator, Euler Method Calculator, Gauss Quadrature Calculator, Golden Section Search Calculator, Nonlinear Equation Calculator, Numerical Derivative Calculator, Numerical Interpolation Calculator . Explore all Numerical Calculus.
Frequently asked questions
Key distinctions behind the calculation.
Is this a second interpolation engine?
No. It is method=spline on math.numerical.interpolate, the same engine as /calc/math/numerical-interpolation.
Is this Akima, PCHIP, or regression?
No. This seed is a natural cubic spline only. Clamped, not-a-knot, Akima, PCHIP, and least-squares fit stay out of scope.