ForHosting KIT · Math

Sphere diameter from volume calculator

Start from the volume a sphere holds and get its width: the volume of a ball of radius 3 gives back a diameter of 6. The calculator does the cube root for you, and a zero volume returns zero. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Volume
113.0973355292
You get
Radius
3
Diameter
6

A solid sphere is fixed, up to congruence, by a single positive length scale, but many drawings, tank charts, and homework problems list the volume instead of the radius or diameter. Recovering the diameter from a known volume is the inverse of the classical (4/3)πr³ formula: solve for the radius as the real cube root of three times the volume over four pi, then double that radius. Students meet this reverse step when a problem states a ball holds a given number of cubic units and asks for the diameter; engineers and makers face the same algebra when a capacity note or bill of materials gives only filled volume.

What relating volume to diameter means for a solid sphere

In Euclidean solid geometry the volume of a solid sphere of radius r is four-thirds pi times the cube of that radius. The diameter is twice the radius and is often the quantity listed on a ball, spherical tank, or planet model when the full width is easier to quote than the center-to-surface distance.

When volume is the known datum instead of radius or diameter, invert the formula: multiply the volume by three, divide by four pi, take the real cube root to recover the radius, then multiply by two for the diameter. Zero volume yields zero radius and zero diameter; any strictly positive volume yields a unique positive diameter because the map from radius to volume is strictly increasing on the non-negative reals. A negative volume has no geometric meaning for a solid sphere and must be refused before any root is taken.

Search intent clusters around phrases like sphere diameter from volume, diameter of a sphere given volume, find diameter from volume of sphere, reverse sphere volume calculator, and cube root of three V over four pi. People want a numeric diameter they can check against a textbook answer key, a tank chart that lists capacity first, or a packaging note, not only a reminder that the solid is determined by one length.

Practical use, limits, pricing, and delivery channels

Use the browser tool when you want an immediate diameter from a stated sphere volume while checking homework, sizing a spherical tank from a capacity figure, verifying a ball diameter from a catalog volume, or confirming a workshop note without installing a computer-algebra system. Results are fully deterministic: the same volume always yields the same radius and diameter. There is no language model, no external geometry service, and no randomness, so the capacity is safe to pin in continuous-integration checks and reproducible lesson materials.

Pair with a forward sphere-volume tool when you also need surface area from a known radius; this capacity focuses on the reverse diameter recovery path only.

Homework drills that state volume first

Students and graders recover diameter and radius from a given sphere volume, including clear rejection when the stated volume is negative.

What happens if the volume is negative?

A solid sphere cannot have negative volume; those calls are not charged.

Is the sphere diameter from volume calculator free?

The browser tool runs free on your device.

What if volume is zero?

Zero volume is accepted and returns radius 0 and diameter 0.

How is the diameter found from the volume?

Multiply the volume by three, divide by four times π and take the cube root to get the radius. Doubling that radius gives the diameter.

What unit does the diameter come out in?

The length unit behind your volume. Cubic centimetres give centimetres and cubic inches give inches; nothing is converted along the way.

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.

POSThttps://api.kit.forhosting.com/geom/sphere-diameter-volume

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.

curl -X POST https://api.kit.forhosting.com/geom/sphere-diameter-volume \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"volume":113.09733552923255}'
{
  "volume": 113.09733552923255
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "geom.sphere_diameter_volume",
  "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.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

This capacity accepts a non-negative finite volume, rejects negative volume with a clear invalid_input error, and returns volume, radius, diameter, formula, and method as structured JSON.

What relating volume to diameter means for a solid sphere

Delivering volume, radius, diameter, formula, and method as JSON makes the result easy to paste into notes, diff in automated tests, or feed into a larger pipeline without reimplementing cube roots and pi constants in every language you teach or deploy.

How this calculator validates input and applies the inverse formula

If volume is zero the radius and diameter are both returned as zero without division issues. If volume is positive the engine computes radius as the real cube root of three times volume divided by four times pi, then diameter as twice that radius. Extremely large volumes above an internal safety ceiling are refused so floating results stay finite and comparable. You may use any consistent unit system for the volume; diameter and radius are expressed in the corresponding linear units of the cube root of those cubic units, without unit conversion inside the engine. Send a JSON body with a single required field volume. The value must be a finite number (JSON number or numeric string). The engine first checks that volume is present and finite; missing, empty, or non-numeric values fail with invalid_input naming the field. If volume is strictly negative the engine rejects the request with a clear message that sphere volume cannot be negative, matching the product contract and common homework validation rules. Results are rounded to a stable decimal precision so the same input always yields the same JSON across JavaScript engines. Optional fields are not required; this endpoint does not accept radius or diameter as inputs because its job is the inverse path only.

Practical use, limits, pricing, and delivery channels

Each successful request is one billable item at $0.002; failed validation does not consume balance. Accepted volumes must be non-negative finite numbers; a negative volume is always rejected with invalid_input, and missing or non-finite measures are likewise refused. Wire the endpoint into solid-geometry drills that state volume first, contest answer checkers, tank capacity worksheets that list cubic capacity before width, or floating preprocessing steps where you already prefer explicit domain errors over opaque black-box widgets that cannot show why a negative volume is rejected.

Tank and ball capacity notes to width

Shop or logistics notes that list only filled cubic capacity recover the matching sphere diameter as structured JSON for reports or drawings.

Deterministic fixtures for inverse solid-geometry tests

Pipelines that seed unit tests or interactive demos can call a pure diameter-from-volume oracle instead of reimplementing cube roots in every language.

How do I get a sphere diameter from volume with this API?

Send a JSON body with volume (non-negative finite) to geom.sphere_diameter_volume. The response returns volume, radius, diameter, formula, and method.

Which formula does the calculator use?

From V = (4/3)·π·r³ it uses r = ∛(3V/(4π)) and diameter d = 2r, summarized as d = 2∛(3V/(4π)).

Read the full KIT documentation →