HomeCalculatorsMathNumber Theory & Discrete MathFibonacci Calculator
Math calculator

Fibonacci Calculator

Calculate exact Fibonacci numbers from F₀ = 0 and F₁ = 1 through index 1000. View the preceding term, partial sum, worked steps and complete integer exports.

Instant result
Result
—

Enter values to calculate.

Inputs—
Mode—
Formula—
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · four integer sequence modes andfour entries
Input interpretation
Enter values to calculate.
Result
—
Verified scope
four integer sequence modes andfour entries
Assurance
Core
Declared partition coverage
PASS · 5/5 declared partitions (arithmetic, geometric, fibonacci, linear_recurrence, invalid) · Matrix
Known limitations
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
F_n and the partial sum F_0+⋯+F_n, with an engine-linked stem figure of F_k through n.
Scope
The Result Card includes an engine-linked stem figure of F_k (marker is published term; at most 16 indices). Same iterative recurrence as REST/MCP. Terms array is not a REST field. Huge BigInt terms omit the figure.
Verification
Engine tested · Source checked · v1.0.3 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · four integer sequence modes andfour entries· View Manifest · CVP overview · Specification
Versions
Calculation 1.0.3 · CVP protocol 1.0.0-proposed · Evidence 2026-10-28.meta-metrics-v2
Verification revision
2026-10-28.meta-metrics-v2 · 2/2 property · digest 862921453e34
Legacy regression
12/12 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 — ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 29/29 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only.
Supplemental domain review
Not performed
Named expert review
Not performed
CVP suite
37/37 golden · 1/1 CVP boundary · 31/31 invalid · 2/2 property · 2/2 metamorphic · 69/69 cross-interface · 1/1 cross-calculator · 6/6 CVP contract · Manifest
Evidence
4 legacy golden · 2 legacy boundary · legacy regression suite · 37/37 oracle-backed golden · 31/31 invalid · Artifact integrity PASS
This calculator CURRENT · Public schema 1.0.3 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓
Semantic contract
PASS
Full verification

Manifest identity, reference classes, interfaces, suite, and production records.

Formulas

Core equations used by this calculator.

RecurrenceF_n = F_{n−1} + F_{n−2}
Partial sumF_0+⋯+F_n = F_{n+2} − 1
iIntegers. Exact BigInt. n = 0 is allowed. Maximum 1000. Iterative BigInt, not a closed Binet float.

How to use

1

Enter n

n=0 is allowed. F_0=0.

2

Read F_n

The figure shows a stem plot of F_k through n. Linear recurrence lives on /calc/math/sequence.

Example calculations

Common configurations with formula and result.

ϟ

F_10

0,1,1,2,3,5,8,13,21,34,55

F_10
55
ϟ

F_0

Indexing

F_0
0

Fibonacci calculator specification

Version 1.0.3 · Engine tested

Calculation status

Review policy · Evidence

Definition
F_0=0, F_1=1, F_n = F_{n-1}+F_{n-2}. This page is mode=fibonacci on the sequence engine. Linear recurrence with p=q=1, a0=0, a1=1 is the same sequence.
What it calculates
F_n and the partial sum F_0+⋯+F_n, with an engine-linked stem figure of F_k through n.
Inputs
  • n
Outputs
  • term
  • sum
  • prev
Formula
F_n = F_{n−1} + F_{n−2}
Assumptions
  • The Result Card includes an engine-linked stem figure of F_k (marker is published term; at most 16 indices). Same iterative recurrence as REST/MCP. Terms array is not a REST field. Huge BigInt terms omit the figure.
  • F_0=0, F_1=1
  • Integers
  • Not Pascal / Binet float
Units
  • dimensionless
Boundary conditions
  • n>1000 → VALUE_ABOVE_MAX
  • unknown mode → INVALID_MODE
Example
n=10 → 55
Validation cases

2 published on this page · 12/12 tests · Production surface contract 6/6 · View evidence

  • n=10 → 55
  • n=0 → 0
Sources
  • ISO 80000-2:2019 Quantities and units — Mathematics
    Supports: Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.
  • MIT Mathematics for Computer Science — Fibonacci Recurrences — §15.4 Solving Linear Recurrences
    Supports: The Fibonacci recurrence with F₀=0 and F₁=1, its generating function and Binet expression. The recurrence identifies the mathematical sequence; it does not independently test a fast-doubling implementation. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.
Calculation version
1.0.3

Background

Interpretation and common distinctions.

What does this fibonacci calculator compute?

F_0=0, F_1=1, F_n = F_{n-1}+F_{n-2}.

The published formula or method is F_n = F_{n−1} + F_{n−2}. The following references support the stated mathematics or method:

  • MIT Mathematics for Computer Science — Fibonacci Recurrences: The Fibonacci recurrence with F₀=0 and F₁=1, its generating function and Binet expression. The recurrence identifies the mathematical sequence; it does not independently test a fast-doubling implementation. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.

Which inputs and limits should you check?

Check the sequence type, starting-index convention, and finite-term count. Preserve complete terms and exact integers where the result provides them.

The worked example uses 0,1,1,2,3,5,8,13,21,34,55 with F_10. Compare it with the Example calculations and the complete result for the same inputs.

How can you verify and cite this result?

CalculatorX is responsible for this page. The mathematical references above explain the model; implementation checks and their scope are documented separately in the math.sequences v1.0.3 Evidence and capability contract. Read the displayed verification and production state together with the specification's numerical limits.

Use the clean calculator URL to cite the tool. A shared input link identifies a particular calculation. Content updates, numerical verification, and domain reviews have separate dates and scopes.

Exact integer scope and verification

This entry belongs to math.sequences and its four modes: arithmetic, geometric, Fibonacci and second-order linear recurrence. AP/GP use indices 1–1000; Fibonacci/recurrence allow 0–1000. F₀=0, F₁=1; the recurrence is uₙ=p·uₙ₋₁+q·uₙ₋₂ with supplied a₀,a₁. The Fibonacci sum is F₀+…+Fₙ; recurrence mode returns the term without claiming a partial sum. GP handles r=0,1,−1 explicitly; for n=1 the first term is returned even when r=0.

Coefficients are signed integer digit strings of at most 48 digits, and every raw token is at most 512 characters before trimming. Index tokens contain at most 4 digits. Leading zeros count toward the limit. Finite safe JSON integers are also accepted; fractional, unsafe numeric, decimal/scientific string, hex, boolean and null inputs are rejected. Explicit empty input is an error. Aliases must agree; unknown and inactive fields are rejected. Preset entries lock their mode and reject a conflicting mode.

BigInt calculations are exact relative to accepted integers; there is no floating-point rounding tolerance. Results within ±9007199254740991 are JSON numbers; larger integers are exact decimal strings. All term/value/exact, applicable sum/previous term, conventions and diagnostics remain in the complete JSON/CSV export. Large results are fully available in the result and work. Relative sensitivity can be large when p/q or positive/negative terms nearly cancel; exact accepted inputs do not remove uncertainty in measured inputs. Noninteger, real-valued and infinite series are outside this calculator's domain.

The stem figure contains at most16 ending indices. It is omitted with an explicit notice when any plotted integer exceeds safe coordinates or distinct terms cannot be resolved at the chosen scale. Text and exports retain the full integers; absence of a graph does not mean zero or no solution.

The independent reference uses Python arbitrary integers: AP/GP enumeration and matrix powers for Fibonacci/recurrence, unlike the production closed forms/iterative recurrences. The current fixed suite has 37 independent complete packs, strict keys/types/values/metadata and comparator negative controls. This scope is not exhaustive proof over all inputs or third-party certification. Previous1.0.1 verification pins remain immutable.

Typing calculates locally. Shared URLs contain inputs and send them to the host; REST/MCP send supplied inputs. Browser/server logs may retain requests. No zero-log or whole-site network privacy guarantee is made.

Model definitions: NIST Fibonacci recurrence and Western University sequences and finite sums. These sources explain mathematics, not implementation certification.

Frequently asked questions

Key distinctions behind the calculation.

Is this a second sequence solver?

No. It is mode=fibonacci on math.sequences.

Do you use Binet’s formula?

No. Exact iterative BigInt. Float64 Binet is out of scope.