Runge–Kutta Calculator
Classical fourth-order Runge–Kutta for a scalar first-order IVP y′=f(t,y). Same engine as Ordinary Differential Equation. Not Euler, not rk45, not a system. Runs locally.
Trust summary Engine tested · Specification checked · 9/9 tests · Production surface contract 4/4 · v1.0.0
- Input interpretation
- Enter values to calculate.
- Result
- —
- Model
- y(t1) of a scalar first-order IVP by classical RK4.
- Scope
- Scalar first-order only; method locked to rk4
- Verification
- Engine tested · 9/9 tests · Production surface contract 4/4 · Specification checked · v1.0.0
- Named expert review
- Optional · Not performed
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 3 golden · 2 boundary · 4 property · Production surface contract 4/4 · Artifact integrity PASS
- Production
- Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (1 capability; 163 remain CURRENT) @ 2026-09-19T00:00:17.039Z
- Semantic contract
- PASS
Formulas
Core equations used by this calculator.
How to use
Enter rhs, y0, t0, t1
Linear needs k. Poly needs coeffs. t1 must differ from t0.
Read y(t1) and |err|
The exact check is shown for linear and poly. Euler lives on the sibling discovery URL.
Example calculations
Common configurations with formula and result.
y′=y, y(0)=1 at t=1
n=40, k=1
y′=2t, y(0)=0 at t=1
poly coeffs 0,2
Runge–Kutta calculator specification
Version 1.0.0 · Engine tested
- Engine tested 9/9 tests · Production surface contract 4/4
- Named expert review Not performed
- Calculation version 1.0.0
- Definition
- Classical RK4 takes four slope samples per step. This page is method=rk4 on math.numerical.ode. Not a second ODE engine. Not Euler. Not adaptive RK45.
- What it calculates
- y(t1) of a scalar first-order IVP by classical RK4.
- Inputs
- rhs
- y0
- t0
- t1
- n?
- k?
- coeffs?
- Outputs
- y
- exact
- abs_err
- h
- n
- Formula
classical RK4- Assumptions
- Scalar first-order only; method locked to rk4
- Not rk45, not systems, not PDE, not CAS
- Units
- dimensionless
- Boundary conditions
- t1 = t0 → INVALID_INPUT
- n < 1 or n > 10000 → INVALID_INPUT
- Example
- rk4 linear k=1 y0=1 t0=0 t1=1 n=40 → exact=e
- Validation cases
2 published on this page · 9/9 tests · Production surface contract 4/4 · View evidence
- rhs=linear k=1 y0=1 t0=0 t1=1 n=40 → method=rk4, exact=e
- method=rk45 → INVALID_MODE
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.0.0
Related tools
Other calculators in this family: Brent Method Calculator, Definite Integral Calculator, Euler Method Calculator, Gauss Quadrature Calculator, Golden Section Search Calculator, Numerical Derivative Calculator, Numerical Interpolation Calculator, Numerical Root Calculator . Explore all Numerical Calculus.
Frequently asked questions
Key distinctions behind the calculation.
Is this adaptive RK45 or a second ODE engine?
No. It is method=rk4 on math.numerical.ode, the same engine as /calc/math/ordinary-differential-equation. rk45 is INVALID_MODE.
Where does this run?
Locally in the browser by default. REST and MCP call the same ordinary-differential-equation engine.