Prolate spheroid calculator
Enter the equatorial and polar radii of a stretched sphere, such as a rugby ball or an elongated tank end, and get its exact volume, four thirds of π times a² times c, plus its surface area. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Equatorial radius
- 2
- Polar radius
- 4
- Volume
- 67.0206432766
- Surface area
- 85.9137413115
- Eccentricity
- 0.8660254038
A prolate spheroid is the solid you get by rotating an ellipse about its major axis, so two equatorial semi-axes are equal and the polar semi-axis is longer or equal. It is the natural model for rugby balls, American footballs, some planetary figures, elongated tank ends, and many CAD primitives that look like stretched spheres. Given a positive equatorial radius a and a polar radius c with c greater than or equal to a, volume is exact: four thirds of pi times a squared times c. Surface area also has a closed form that uses the linear eccentricity factor e equal to the square root of one minus a squared over c squared, then multiplies two pi a squared by one plus c over a e times arcsine of e. When a equals c the eccentricity vanishes and the surface collapses to the familiar four pi a squared of a sphere.
What volume and surface area mean for a prolate spheroid
A prolate spheroid is a special ellipsoid of revolution: the two equatorial semi-axes equal a, and the polar semi-axis equals c with c greater than or equal to a. In Cartesian form every surface point satisfies x squared over a squared plus y squared over a squared plus z squared over c squared equals one. Volume follows at once from stretching a unit ball along those principal directions: V equals four thirds pi a squared c.
When a equals c equals r this is the sphere volume four thirds pi r cubed. Surface area for a prolate spheroid has an exact elementary expression, unlike a fully triaxial ellipsoid. Define the eccentricity e of the generating ellipse as the square root of one minus a squared over c squared.
Then surface area S equals two pi a squared times open parenthesis one plus c over a e times arcsine of e close parenthesis. As e approaches zero the fraction arcsine of e over e approaches one and S approaches four pi a squared, which is why the implementation special-cases the sphere limit instead of dividing by a vanishing e. Units stay consistent with whatever length unit you pass for both radii—metres yield cubic metres of volume and square metres of area; inches yield cubic and square inches.
Zero or negative radii are rejected because they do not describe a solid of positive extent. Equatorial larger than polar is also rejected so the product stays honest about the prolate contract rather than silently swapping axes or inventing an absolute value. The arithmetic is a handful of multiplications, one square root, and one inverse sine after coercion, so there is no iteration, no Monte Carlo sampling, and no dependence on wall-clock time.
What you can do with it
Sports balls, tanks, and packaging takeoff
Turn measured equatorial and polar radii into volume for capacity or mass estimates, and surface area for paint, wrap, and material orders on elongated spheroidal parts.
CAD and manufacturing pre-checks
Validate prolate stock dimensions in scripts before nesting or quoting: volume for mass estimates, exact surface for coating and heat treatment.
FAQ
What is the formula for the volume of a prolate spheroid?
With equatorial radius a and polar radius c (c ≥ a > 0), volume is (4/3)·π·a²·c. Both lengths must use the same unit. When a = c = r this is the sphere volume (4/3)·π·r³.
What is the surface area formula?
With eccentricity e = √(1 − a²/c²), surface area is 2·π·a²·(1 + (c/(a·e))·arcsin(e)). When a = c the solid is a sphere and surface area is exactly 4·π·a².
Why is equatorial radius greater than polar radius rejected?
That geometry is an oblate spheroid, not a prolate one.
How does this differ from a triaxial ellipsoid calculator?
A prolate spheroid has two equal equatorial axes and one polar axis. The general ellipsoid needs three independent semi-axes and usually approximates surface area; this tool uses the exact prolate closed forms.
Is the prolate spheroid calculator free?
The browser tool is free and runs locally.
Related tools
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/geom/prolate-spheroid \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"equatorial_radius":2,"polar_radius":4}'const res = await fetch("https://api.kit.forhosting.com/geom/prolate-spheroid", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"equatorial_radius": 2,
"polar_radius": 4
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/geom/prolate-spheroid",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"equatorial_radius": 2,
"polar_radius": 4
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/geom/prolate-spheroid", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"equatorial_radius":2,"polar_radius":4}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"equatorial_radius":2,"polar_radius":4}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/geom/prolate-spheroid", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"equatorial_radius": 2,
"polar_radius": 4
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "geom.prolate_spheroid",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
This capability packages both results as deterministic JSON with no computer-algebra system, no random seeds, and the same pure solve function in the free browser tool and the prepaid API path. If the equatorial radius exceeds the polar radius the input is rejected with invalid_input, because that geometry is oblate rather than prolate and belongs to a different search intent and formula set.
How to call the API and what comes back
Use it from geometry homework pipelines, packaging and sports-ball takeoff scripts, planetary figure checks, interview-prep sandboxes, CAD pre-checks, or any workflow that needs reproducible prolate numbers without installing a computer-algebra package on every machine. Send a JSON body with equatorial_radius and polar_radius. Field equatorial_radius is the positive equatorial semi-axis a; aliases a, equatorial, a_eq, and radius_eq are accepted. Field polar_radius is the polar semi-axis c; aliases c, polar, a_polar, and radius_polar map to the same meaning. Both must be finite numbers strictly greater than zero and inside the published limits, share the same length unit, and satisfy polar_radius greater than or equal to equatorial_radius. On success the response echoes both radii; returns volume as the exact four thirds pi a squared c value; returns surface_area from the closed eccentricity formula or the sphere limit; returns eccentricity e (zero on a sphere); flags is_sphere when the two radii are equal; sets method to prolate_spheroid; and includes a short formula block documenting both expressions. Failed validation—missing a required field, a non-finite number, a non-positive radius, an out-of-range magnitude, or equatorial exceeding polar—returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item. Pair the call with unit conversion only when your source data mixes millimetres and metres; this capability does not convert linear units for you.
Practical tips, limits, and related searches
When teaching, prefer paired examples: equatorial two and polar four for a clearly elongated solid; equatorial one and polar one for a unit sphere where volume is four thirds pi and surface is four pi; and equatorial three with polar two to demonstrate the hard rejection path when the equatorial measure exceeds the polar one. Prefer this tool when you already know the two prolate radii and need exact volume plus exact surface in one shot. Round-trip checks are easy: after solving a sphere case, confirm volume equals four thirds pi a cubed and surface equals four pi a squared; for unequal radii, confirm volume scales with a squared times c when you double the polar axis. If you need three unequal semi-axes, use the triaxial ellipsoid volume calculator; if you need a pure sphere from one radius, use the dedicated sphere tools instead of forcing equal prolate radii. Keep each radius inside the published positive range up to one trillion so intermediate products and inverse sines stay finite in IEEE double precision on the Worker and in the browser. Because volume only needs a squared times c, students can recompute by hand for nice fractions of pi and match the API line by line after dividing reported floats by pi if desired. Surface checks against a sphere are the best sanity test: set both radii equal and confirm surface_area matches four pi a squared within floating tolerance. This landing targets people searching for a prolate spheroid calculator or volume and surface area from equatorial and polar radii; it is not a general triaxial ellipsoid tool, not an oblate calculator, and not a Knud Thomsen approximation path. Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap when users type impossible measures while learning the contract.
Integration use cases
Homework checks for prolate volume and surface
Give students equatorial and polar radii; compare their hand-computed volume and closed-form surface against a deterministic API or free browser result.