Archimedes' Principle: Buoyancy, Floating and Roll Stability

A Blender-built lab tank: buoyant force, the liquid level rising, floating equilibrium and the metacentric height that decides whether a hull stays upright.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A free-floating rigid object in a glass tank of liquid. The tank is 0.96 m x 0.56 m and holds 0.60 m of liquid when empty of objects; the object can be a cube, a sphere, a flat block or a prismatic ship hull. The model computes the volume of liquid the object displaces, the buoyant force, the rise of the liquid level in the tank, the up-and-down motion (heave) and, for the cube, block and hull, the rolling stability about the long axis.

Equations

  • Archimedes: buoyant force Fb = ρf g Vsub, weight W = ρo g V. At rest Vsub/V = ρo/ρf, independent of g.
  • Submerged volume: spherical cap π h² (3 r − h) / 3; for the prismatic shapes the exact integral of the piecewise-linear half-width w(u) below the waterline, Vsub = L ∫ 2 w(u) du.
  • Liquid level: zs = H0 + Vsub / Atank, solved together with the object height (displaced liquid raises the surface).
  • Heave: (m + ½ ρf Vsub) a = Fb − m g − ½ ρf Cd A |v| v − c v with the damping c set to a damping ratio of 0.2 of the waterplane stiffness.
  • Roll stability: BM = Iwl / Vsub with Iwl = L b³ / 12 (b = waterline width), GM = (uB + BM) − uG. The restoring moment is ρf g Vsub GM sinθ; the roll period is 2π √(I / (ρf g V GM)).
  • For a cube, GM > 0 only when ρo/ρf < (3 − √3)/6 = 0.211 or > (3 + √3)/6 = 0.789; between those values a cube heels over.

Simplifications, stated honestly

  • Roll is a small-angle model: the restoring moment uses sinθ with the upright metacentre, and the heave volume uses the upright hull. An unstable object is simply stopped at 40 degrees (a real cube would end up on an edge or a face).
  • The hull is a prism (constant cross-section) so that its volumes are exact; a real ship narrows toward the bow. The ship carries 30 % of its mass as cargo whose height you set; the other 70 % sits at the hull centroid.
  • Added mass (half the displaced liquid), the drag coefficient 1.0, the damping ratio 0.2 and the roll inertia of an equal-mass box are assumed values. No waves, surface tension or viscosity of the liquid beyond this damping are modelled; the sphere rotates freely and is not shown rolling.

Checks you can see

The five boxes above test the volume formulas against numerical integration, the settled floating state and the displaced-liquid weight, gravity independence on the Moon and Jupiter, the exact stability band of a cube, and the measured roll period against the formula.

Loading model...
Loading Blender model...
Submerged share against time
Roll angle against time
Floating share against density ratio
Metacentric height against density ratio

About Archimedes' Principle — Buoyancy & Floating

Written by MySimulator Team · Reviewed by MySimulator Editorial Review

Last updated: 5 July 2026

This simulation models Archimedes' principle, which states that any object fully or partially submerged in a fluid experiences an upward buoyant force equal to the weight of the fluid it displaces. You can drop cubes, spheres, ship hulls, and slabs into water, salt water, olive oil, ethanol, or mercury, then watch how the buoyant force and gravity interact in real time. By adjusting the object's density and the fluid type, you can observe whether the object floats, sinks, or reaches neutral buoyancy.

Archimedes' principle underpins the design of ships, submarines, hot-air balloons, and hydraulic engineering — any system where controlling buoyancy is essential to function or safety.

Frequently Asked Questions

What is Archimedes' principle?

Archimedes' principle states that a body immersed in a fluid — whether liquid or gas — is acted upon by an upward buoyant force equal to the weight of the fluid displaced by the body. This means the buoyant force depends on the volume submerged and the density of the surrounding fluid, not on the material of the object itself. The principle applies to partial submersion (floating) and full submersion (sinking or neutral buoyancy) alike.

How do I use this simulation?

Select a fluid from the dropdown (fresh water, salt water, olive oil, ethanol, or mercury) and choose an object shape (cube, sphere, ship hull, or block). Then pick a material from the list or drag the density slider to set a custom density in kg/m³. The object will automatically seek its equilibrium depth, and the read-out panel shows the buoyant force, weight, net force, submerged fraction, and whether the object floats, sinks, or reaches neutral buoyancy. You can drag the object up or down in the tank with your mouse and release it to watch the physics play out.

What determines whether an object floats or sinks?

An object floats when its average density is less than the fluid's density, and sinks when its average density exceeds the fluid's density. At equilibrium, the fraction of the object submerged equals the ratio of object density to fluid density — so a material with density 700 kg/m³ floating in fresh water (1000 kg/m³) sits 70% submerged. Neutral buoyancy occurs when the two densities are equal, causing the object to hover at any depth without rising or falling.

What is the mathematical formula for buoyant force?

The buoyant force is given by F_b = rho_fluid * V_displaced * g, where rho_fluid is the density of the fluid in kg/m³, V_displaced is the volume of fluid displaced by the submerged portion of the object in m³, and g is gravitational acceleration in m/s². For a floating object in equilibrium, this force equals the object's weight mg = rho_object * V_total * g, which gives the floating fraction as rho_object / rho_fluid. The formula holds regardless of the shape of the object.

What is a real-world example of Archimedes' principle at work?

Steel ships are a striking example: although steel has a density of about 7,870 kg/m³ — nearly eight times that of water — a ship floats because its hull encloses a large volume of air, making the average density of the entire vessel well below 1,000 kg/m³. Submarines exploit the same principle by pumping water into or out of ballast tanks to change their average density and dive or surface on command. Hot-air balloons rise because the heated air inside is less dense than the cooler surrounding atmosphere.

Does gravity affect buoyancy?

A common misconception is that changing gravity changes whether an object floats or sinks. In fact, since both the buoyant force (F_b = rho_fluid * V * g) and the object's weight (W = rho_object * V * g) scale equally with g, the equilibrium floating depth — rho_object / rho_fluid — is completely independent of gravitational acceleration. Gravity does affect how quickly the object reaches equilibrium and how vigorously it bobs, but not the final submerged fraction. You can test this in the simulation by switching between Earth, Moon, Jupiter, and Mars gravity.

Who discovered Archimedes' principle and how?

Archimedes of Syracuse, a Greek mathematician and inventor, is credited with discovering the principle around 250 BCE. According to the famous (though likely embellished) account by Vitruvius, King Hiero II asked Archimedes to determine whether his new crown was pure gold or fraudulently alloyed with silver. Noticing the water level rise as he entered a bath, Archimedes realized he could compare volumes by displacement — allegedly shouting "Eureka!" ("I have found it!") as he ran through the streets. His formal proof appears in his treatise On Floating Bodies, the earliest known work of hydrostatics.

What other phenomena are closely related to buoyancy?

Buoyancy connects directly to fluid statics, pressure gradients in fluids, and the concept of hydrostatic pressure (P = rho * g * h). Ship stability and metacentric height build on Archimedes' principle to determine whether a vessel rights itself or capsizes after being tilted. Convection — the circulation of fluid driven by density differences — is another close relative, as is the lift generated by aerostatic balloons and airships. Related simulations worth exploring include fluid pressure, Pascal's law, and surface tension effects.

How is Archimedes' principle used in engineering and technology today?

Modern applications span many fields: naval architects use buoyancy calculations to design hull forms that are both stable and efficient; offshore oil platforms are engineered to float at precise drafts under heavy load; density-based separation processes in mining and recycling use liquid mediums to sort materials by buoyancy. In medicine, hydrostatic weighing (underwater weighing) measures body fat percentage by comparing a person's mass in air and submerged in water. Buoyancy-driven flow is also fundamental in cooling systems for nuclear reactors and in oceanographic circulation models.

What are advanced or frontier research areas connected to buoyancy?

Current research explores buoyancy in non-Newtonian fluids and granular media, where classical Archimedes' principle breaks down or requires significant modification. Scientists are also studying buoyancy-driven convection in planetary interiors to understand the dynamo processes that generate magnetic fields on Earth and other planets. In microgravity environments on the International Space Station, buoyancy-driven flows vanish, revealing other subtle fluid forces — important for designing fluid management systems in spacecraft. At the nanoscale, researchers are investigating how thermal fluctuations and surface forces interact with buoyancy for colloidal particles in suspension.

Made with 🟠 Blender · Three.js