HomePhysics & MechanicsArchimedes' Principle

⚖️ Archimedes' Principle

Interactive Archimedes' principle simulation: drop cubes, spheres and ship hulls into water, oil or mercury and watch buoyancy balance gravity in real time.

Physics & Mechanics3DEasy60 FPS💧 Water
archimedes-principle ↗ Open standalone

About Archimedes' Principle — Buoyancy & Floating

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.

⚙ Under the hood

Buoyancy equals the weight of displaced fluid: F_b = ρ·V·g. Drop a cube, sphere or ship-hull into water, oil or mercury and see it settle where the submerged fraction matches the density ratio.

Canvas 2DBuoyancyFluid StaticsArchimedesDensity

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)