Three experiments, one principle
Anything sitting in a liquid feels an upward push called upthrust. This simulation lets you measure that push in three different ways, and each time it comes out equal to the weight of the liquid the object moves out of its way. That rule is Archimedes' principle, and it explains why ships float, why some blocks sink and why a cargo barge has lines painted on its side.
Weighing a block as it goes under
In the first experiment a cuboid hangs from a newtonmeter above an overflow can that has been filled until it drips from its spout. Press Lower and the block enters the liquid a quarter at a time. Every bit of block that goes under forces the same volume of liquid out through the spout, and it runs into a beaker standing on a balance.
Watch three numbers together. The newtonmeter reading falls as the block goes in, and the drop is the upthrust. The balance shows the mass of liquid collected, and multiplying it by g gives its weight. Those two always match: , where is the volume under the surface. Change the material and the weight changes, but a brass block and an aluminium block of the same size get exactly the same upthrust.
Turn on the pressure arrows to see where the push comes from. Liquid pressure grows with depth (), so the bottom face is pushed up harder than the top face is pushed down. Multiply the difference by the face's area and you get the upthrust again. Once the block is fully under, sending it deeper raises both pressures equally, so nothing changes.
A pine block shows what floating means. Its reading drops to zero while part of it is still dry, and the thread goes slack. At that point the upthrust has grown to equal its weight, so the liquid holds the block up on its own.
Cubes that float or sink
The second experiment drops a 10 cm cube into a tank. A cube less dense than the liquid bobs and settles with a fraction of itself below the surface. Glycerol is the densest liquid offered, so cubes ride highest in it. A nylon cube shows that the liquid matters as much as the object: it sinks in water yet floats in glycerol. An aluminium cube rests on the bottom, where the base supplies the force the upthrust cannot.
Loading a barge
The last scene is a harbour. The barge is a simple box, so its depth in the water is its total mass divided by the water's density and its deck area. Each crate pushes it deeper. Painted on the hull is a simplified Plimsoll mark with two lines: S for sea water and F, a little higher, for fresh water. Real ships carry more lines than this.
Keep adding crates and eventually the barge needs to displace more water than its whole hull can hold. The water reaches the deck, floods in, and the barge goes to the bottom of the harbour. A load that only just floats at sea can sink the barge in a river, because fresh water gives less upthrust for each cubic metre pushed aside.