Archimedes principle calculator
Water at 1000 kg/m³ displaced by 0.002 m³ under 9.81 m/s² pushes up with 19.62 N: the calculator multiplies density, volume and gravity following Archimedes' principle and shows the substitution step by step. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Density
- 1,000
- Volume
- 0.002
- Gravity
- 9.81
- Rho
- 1,000
- Fluid density
- 1,000
- Displaced volume
- 0.002
- G
- 9.81
An Archimedes principle calculator turns fluid density, displaced volume, and gravitational acceleration into the upward buoyant force on a submerged object. Enter ρ for the surrounding fluid, V for the volume of fluid the body displaces, and g for local gravity; the tool returns F_b equals rho times V times g, a readable equation string, substitution steps, and mirrored force field names for scripts and worksheets. Homework checks, naval estimates, pool and submarine demos, and coding-kata expected values all need the same product without opening a full CFD stack.
What Archimedes' principle says about buoyant force
Archimedes' principle states that a body immersed in a fluid experiences an upward buoyant force equal to the weight of the fluid the body displaces. In a uniform gravitational field that weight is the product of fluid density, displaced volume, and gravitational acceleration: F_b equals rho times V times g.
Density is the mass per unit volume of the fluid itself—about one thousand kilograms per cubic metre for liquid water near room temperature, much smaller for air at sea level—so the same submerged volume produces a far larger force in water than in air. Displaced volume is the volume of fluid that would occupy the space the immersed portion of the object takes; fully submerged objects displace their exterior volume, while floating objects displace only enough volume for buoyant force to balance weight.
Gravity sets the scale of weight: Earth-standard problems often use nine point eight one or nine point eight zero six six five metres per second squared, while educational Moon or Jupiter variants simply change g. The sign convention in this tool reports F_b as the magnitude of that product when g is positive; callers who encode direction with a signed g will see a signed product.
Classroom and automated-grader paths care about domain checks as much as the multiply: a negative volume is almost always a data-entry or coordinate mistake, and returning a negative force without comment would hide that error. Zero volume is allowed and yields zero force, which matches “nothing submerged.” The check path recomputes rho times V times g with the same fixed rounding used for published fields, so a successful response always ships with steps you can assert in tests or lab notebooks without re-deriving the product by hand each time.
Practical tips, limits, and related searches
Keep density, volume, and gravity inside the published absolute range so the product cannot overflow into a non-finite buoyant force the solver must reject. Prefer sending numbers rather than pre-formatted strings when you control the client; string numbers are accepted only when they match a strict finite numeric pattern. Use consistent units: kilograms per cubic metre, cubic metres, and metres per second squared yield newtons; grams and centimetres require a coherent g in centimetres per second squared if you want dynes.
This tool does not convert units, decide whether an object floats or sinks, or estimate partial submersion from freeboard geometry—those need object mass or a separate volume model. Prefer this capability when you already have rho, V, and g and only need F_b; if your source is a word problem, extract those three quantities first.
What you can do with it
Pre-flight buoyancy estimates in engineering scripts
Pipelines compute upward force from known fluid density and submerged volume before comparing against object weight to decide float versus sink branches.
FAQ
What is the buoyant force formula from Archimedes' principle?
F_b = ρ V g, where ρ is fluid density, V is the volume of fluid displaced by the submerged object, and g is gravitational acceleration. The force equals the weight of the displaced fluid.
What happens if volume is negative?
Displaced volume must satisfy V ≥ 0; a negative value is treated as a domain error, not a signed force.
Does this tell me if an object floats?
No. It only computes F_b from ρ, V, and g. Floating versus sinking also needs the object's weight (or mass and g) for comparison.
Which units should I use?
Any consistent set. SI (kg/m³, m³, m/s²) yields newtons. The tool does not convert units; it multiplies the three numbers you provide.
Is the Archimedes principle 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/mech/archimedes-buoyant-force \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"density":1000,"volume":0.002,"gravity":9.81}'const res = await fetch("https://api.kit.forhosting.com/mech/archimedes-buoyant-force", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"density": 1000,
"volume": 0.002,
"gravity": 9.81
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/mech/archimedes-buoyant-force",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"density": 1000,
"volume": 0.002,
"gravity": 9.81
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/mech/archimedes-buoyant-force", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"density":1000,"volume":0.002,"gravity":9.81}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"density":1000,"volume":0.002,"gravity":9.81}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/mech/archimedes-buoyant-force", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"density": 1000,
"volume": 0.002,
"gravity": 9.81
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "mech.archimedes_buoyant_force",
"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
Negative displaced volume is rejected with a clear invalid_input error so a flipped sign never silently becomes a downward “buoyancy.”
How to call the API and what comes back
Send a JSON body with three required finite numbers: density (aliases rho, fluid_density), volume (aliases V, displaced_volume), and gravity (aliases g, gravitational_acceleration). Absolute values must stay within the published limit of one trillion so intermediate products remain finite in IEEE double precision on the Worker and in the browser. Density must be non-negative; volume must not be negative—values strictly less than zero trigger invalid_input with a message that displaced volume must not be negative. On success the response echoes rounded density, volume, and gravity, sets buoyant_force, force, and F_b to the same rounded product, formula to the string F_b equals rho times V times g, equation to a human-readable substituted product, principle to Archimedes, message to a short English summary, and steps to an ordered array of given-values and substitution lines. Failed validation—missing fields, non-finite numbers, values outside absolute limits, negative volume, negative density, or a non-finite force product—returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item and zero marginal unit price beyond the base.
Practical tips, limits, and related searches
When teaching, pair examples: one thousand kilograms per cubic metre of water, two thousandths of a cubic metre displaced, and g equals nine point eight one yields about nineteen point six two newtons; a deliberate negative volume demonstrates the hard invalid_input path. This landing targets people searching for an Archimedes principle calculator, buoyant force on a submerged object, or density volume gravity buoyancy tool online; it is not a ship hydrostatics package, not a CFD solver, and not a unit converter. Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap when learners deliberately send a negative volume.
Integration use cases
Homework checks for Archimedes problems
Students enter textbook density, displaced volume, and g, then compare hand-written F_b and substitution steps against a deterministic API or browser result before submitting.
Unit tests for student physics solvers
Generate known-good F_b = ρ V g cases plus deliberate negative-volume rejections for coding kata expected values and continuous-integration fixtures.