HomeCalculatorsMathGeometryHyperbola Calculator
Math calculator

Hyperbola Calculator

Calculate hyperbola foci, eccentricity and asymptote slopes from positive semiaxes. Choose orientation, inspect numerical limits and export complete results.

Instant result
Result
—

Enter values to calculate.

Inputs—
Mode—
Formula—
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes
Input interpretation
Enter values to calculate.
Result
—
Verified scope
all published modes
Assurance
Core
Declared partition coverage
PASS · 4/4 declared partitions (ellipse, parabola, hyperbola, invalid-domain) · Matrix
Known limitations
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
Standard hyperbola foci, eccentricity, asymptote slope, and an engine-linked figure of the branches.
Scope
Euclidean plane
Verification
Engine tested · Source checked · v1.1.0 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes· View Manifest · CVP overview · Specification
Versions
Calculation 1.1.0 · CVP protocol 1.0.0-proposed · Evidence 2026-10-29.math-uuce-fields-v1
Verification revision
2026-10-29.math-uuce-fields-v1 · 3/3 property · digest e1dc06efeffb
Legacy regression
9/10 tests · Production surface contract 5/5
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 1/1 (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
185/185 golden · 2/2 CVP boundary · 49/49 invalid · 3/3 property · 4/4 metamorphic · 4/4 cross-interface · 2/2 cross-calculator · 5/5 CVP contract · Manifest
Evidence
3 legacy golden · 2 legacy boundary · legacy regression suite · 185/185 oracle-backed golden · 49/49 invalid · Artifact integrity PASS
This calculator CURRENT · Public schema 1.1.0 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.

Standardx²/a² − y²/b² = 1
Focic = √(a² + b²)
Eccentricitye = c/a
iDefault orientation is horizontal. Same engine as /conic-section. Not the ellipse page. Not CAS.

How to use

1

Enter a and b

Both must be positive. a = 3, b = 4 is the 3-4-5 hyperbola with e = 5/3.

2

Read c, e, and the asymptote slope

Horizontal foci are (±c, 0). Vertical foci are (0, ±c). The figure updates with a, b, and orientation.

Example calculations

Common configurations with formula and result.

ϟ

3-4-5 hyperbola

a = 3, b = 4, horizontal

c = √(9 + 16)
c=5, e=5/3
ϟ

Vertical

a = 3, b = 4, vertical

y²/a² − x²/b² = 1
c=5

Hyperbola calculator specification

Version 1.1.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
Horizontal hyperbola x²/a² − y²/b² = 1 with a > 0, b > 0, c = √(a² + b²), e = c/a > 1, asymptotes y = ±(b/a)x. Vertical is y²/a² − x²/b² = 1. This page is mode=hyperbola on math.geometry.conic. Not a second engine. Not CAS.
What it calculates
Standard hyperbola foci, eccentricity, asymptote slope, and an engine-linked figure of the branches.
Inputs
  • a
  • b
  • orientation?
Outputs
  • c
  • e
  • asymptote_slope
  • equation
Formula
x²/a² − y²/b² = 1
Assumptions
  • Euclidean plane
  • Centered at the origin
  • Axis-aligned
  • Not ellipse
  • Not CAS
Units
  • length (consistent units)
Boundary conditions
  • a ≤ 0 or b ≤ 0 → VALUE_MUST_BE_POSITIVE
  • unknown mode → INVALID_MODE
Example
a=3 b=4 → c=5, e=5/3
Validation cases

2 published on this page · 9/10 tests · Production surface contract 5/5 · View evidence

  • a=3 b=4 → c=5
  • a=3 b=4 orientation=vertical → c=5
Sources
Calculation version
1.1.0

Background

Interpretation and common distinctions.

What does this hyperbola calculator compute?

Horizontal hyperbola x²/a² − y²/b² = 1 with a > 0, b > 0, c = √(a² + b²), e = c/a > 1, asymptotes y = ±(b/a)x. Vertical is y²/a² − x²/b² = 1.

The published formula or method is x²/a² − y²/b² = 1. The following references support the stated mathematics or method:

Which inputs and limits should you check?

Use the indicated standard-form orientation and positive geometric parameters. A numerical circumference approximation and an exact defining equation describe different aspects of a conic.

The worked example uses a = 3, b = 4, horizontal with c = √(9 + 16). 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.geometry.conic v1.1.0 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.

Numerical range, interpretation and privacy

Use one consistent length unit; area uses its square. For an ellipse, a is the x semiaxis and b is the y semiaxis. For a hyperbola, a is the transverse semiaxis, along the chosen opening direction, and b is the conjugate semiaxis. A signed nonzero p places the parabola focus and sets its opening direction. These standard forms have their center or vertex at the origin; rotated or translated conics are outside this tool.

Inputs are strict decimal numbers or decimal strings, at most 1024 characters each. Decimal text is normalized to binary64 before geometry is evaluated. Nonzero inputs and reported numeric outputs must be finite normal binary64 values, with magnitude at least 2^-1022. Nonzero text converted to zero is rejected with NUMERIC_UNDERFLOW. Nonzero subnormal inputs, underflowing outputs and overflowing outputs reject with NUMERIC_RANGE; change the length unit and retry. Empty and null fields are invalid; defaults apply only when a URL field is absent.

Circle classification uses exact equality of the normalized axes. Near a=b, the focal distance and eccentricity are sensitive to input rounding; two different decimals can round to the same binary64 value. Very thin ellipses or nearly degenerate hyperbolas can have eccentricity rounded to 1. A displayed equation is a floating point presentation, not a symbolic proof. Typical arithmetic verification uses relative tolerance 2e-12 against independent high-precision values of the stated formulas; exact zeros and discrete branches are checked separately. This tolerance does not bound sensitivity to changed inputs.

Ellipse perimeter uses Ramanujan I, π[3(a+b)−√((3a+b)(a+3b))], an approximation rather than the exact elliptic-integral arclength. Its model error grows for very thin ellipses and is separate from floating point arithmetic error. Figures use equal scale for both axes and explicitly omit aspect ratios or focal separations too small to show faithfully. Complete numerical fields remain available in JSON and CSV.

Interactive calculation runs in the browser. Shared URLs send their parameters to the server and may be server-rendered; REST/MCP requests send their inputs. A shared version identifies the requested calculation version and shows a mismatch notice when appropriate; it is not a preserved historical execution environment. Local history is stored in this browser. No zero-log, retention-period or processing-region guarantee is implied.

Frequently asked questions

Key distinctions behind the calculation.

Is this a second conic engine?

No. It is mode=hyperbola on math.geometry.conic, the same engine as /calc/math/conic-section.

Is this the ellipse calculator?

No. Ellipse eccentricity is in [0, 1). Hyperbola eccentricity is greater than 1. Ellipse stays on /calc/math/ellipse.

Where does this run?

Locally in the browser by default. REST and MCP call the same conic-section engine.