VisualizeBiology

Liver Function Simulator: See What the Liver Does, in 3D

Turn a real human liver, open its segments and vessels, then zoom into a living lobule and one hepatocyte. Feed, fast, drink or overdose the patient and watch glycogen, bile, bilirubin, alcohol, drugs and the blood tests change.

Patient
Sex (body water for alcohol)
Eat, drink, treat
Meals come at 8:00, 13:00 and 19:00 unless fasting is on. Courses (fasting, lactulose, phototherapy) stay on until pressed again. An educational model, not medical advice.
Lab

The liver now

Lab notebook

Every patient you choose, every meal, drink or treatment and every test is written here. Export a CSV, or turn the session into a PDF lab report.

#PatientWhatResultValue

Concept library

User Guide: Liver Function Simulator
1 Overview

Simulate opens on a healthy adult's liver with the clock running (10 minutes a second, meals at 8:00, 13:00 and 19:00). The bench has three views: Liver (the real organ in 2D or 3D), Lobule (a living lobule under the microscope) and Cell (one hepatocyte). On the right, At work shows the liver's seven functions live, Graph plots the blood tests over time and Patient shows the eyes, urine and stool. "The liver now" lists the liver function tests and whatever you clicked.

2 The liver view: looks, cameras and 3D
  • Look: Surface, Segments (Couinaud I–VIII, with IVb), Lobes (right, left, caudate, quadrate) or Vessels (the liver turns to glass over the portal vein, hepatic artery, bile ducts and hepatic veins, with blood and bile flowing).
  • Camera (2D): from the front, from below (the visceral surface) or from the right side. In 3D drag to turn, scroll with Ctrl/⌘ or pinch to zoom, and press Explode to pull the segments apart.
  • Click any segment, lobe, vessel or the gallbladder to read about it. The surface changes with the patient: pale and yellow in fatty liver, nodular in cirrhosis, mottled after an overdose.
3 The lobule and the hepatocyte
  • Lobule: blood runs from the portal triads at the corners to the central vein; bile runs the other way. Zones colours zones 1–3; PAS stains glycogen magenta (fed vs fasting). Ctrl/⌘ + scroll zooms, drag pans. Click a hepatocyte to open it.
  • Cell: pick a function (glucose, ammonia, bilirubin, bile, alcohol, drugs, proteins). Molecules travel at the model's rate and the numbered steps light up as they happen.
4 Patients, actions and the clock
  • Patient: healthy, fatty liver, alcohol-related liver disease, acute hepatitis, cirrhosis, a gallstone in the bile duct, hemolytic anemia, Gilbert syndrome, newborn jaundice or an acetaminophen overdose; male or female body.
  • Do: four kinds of meal, a standard drink (14 g of alcohol), acetaminophen 1 g or an overdose, N-acetylcysteine, vitamin K, ERCP (removes the stone), and the courses fasting, lactulose and phototherapy.
  • The bar under the liver plays and pauses the clock, sets its speed (1 minute to 1 day a second), jumps 6 hours or starts the patient again.
5 Experiment mode and the lab report

Five practicals: label the liver and lobule, catalase in liver at different temperatures, the liver function test detective (four mystery patients), alcohol elimination (Widmark) and treating an acetaminophen overdose. In a practical the live blood tests are hidden: take a test from the Lab panel. Each ticks off its method as you work and ends with a conclusion question; "Lab report (PDF)" turns your notebook into a report.

6 Units and keyboard
  • SI | US: bilirubin µmol/L or mg/dL, glucose mmol/L or mg/dL, urea mmol/L or BUN mg/dL, ammonia µmol/L or µg/dL, albumin g/L or g/dL, blood alcohol g/L or %, body mass kg or lb, temperature °C or °F.
  • 1 Liver, 2 Lobule, 3 Cell, Space play or pause, L labels, G graph, W at work, P patient, Esc clears the selection.

The liver: what it does and how it works

The liver is the body's biggest internal organ (about 1.5 kg) and its chemical factory: it stores glucose, makes bile, clears bilirubin, turns toxic ammonia into urea, breaks down alcohol and medicines, and makes most of the proteins in your blood. This free liver function simulator lets you see all of it: a real human liver in 3D, a living lobule under the microscope and a single hepatocyte at work, all driven by one model of the liver that responds to meals, fasting, alcohol, drugs and disease.

A real human liver in the simulator, seen from the front and coloured by its eight Couinaud segments, with the gallbladder under the right lobe
The real liver, coloured by its Couinaud segments: each one has its own branch of the portal vein, artery and bile duct.
Views
The real liver in 2D and 3D (surface, segments, lobes, vessels), a living lobule and one hepatocyte
Patients
Fatty liver, alcohol-related liver disease, hepatitis, cirrhosis, gallstones, hemolysis, Gilbert syndrome, newborn jaundice, acetaminophen overdose
Standards
NGSS HS-LS1-2 and HS-LS1-3; AP Biology; AQA GCSE 4.2.2 and 4.5.3; A-level deamination and the urea cycle; A&P
Modes
Simulate, Experiment (5 practicals with a PDF report) and Quiz

The functions of the liver

FunctionWhat the liver doesIn numbers
Glucose storeStores glucose as glycogen after a meal (insulin); releases it, then makes new glucose (gluconeogenesis), when fasting (glucagon)About 100 g of glycogen, enough for a day
Ammonia → ureaDeaminates amino acids and turns the toxic ammonia into urea in the urea cycleAbout 30 g of urea a day
BileMakes bile salts from cholesterol; bile emulsifies fats in the small intestineAbout 600 mL a day
BilirubinConjugates bilirubin from old red cells and excretes it in bileAbout 300 mg a day
DetoxificationBreaks down alcohol, drugs and hormones (CYP450 enzymes, glucuronidation, glutathione)About one drink an hour
Plasma proteinsMakes albumin and clotting factors (with vitamin K)About 12 g of albumin a day
Storage and defenseStores vitamins A, D and B12, iron and copper; Kupffer cells remove bacteria and old red cellsVitamin A for months

Liver anatomy: lobes, segments and blood supply

From the front the falciform ligament divides a big right lobe from a smaller left lobe; from below you also see the caudate and quadrate lobes, the gallbladder and the porta hepatis, where vessels enter and the bile ducts leave. Surgeons use the eight Couinaud segments instead: each has its own branch of the portal vein, hepatic artery and bile duct, and the hepatic veins run between them, so one segment can be removed without harming the rest. The liver has a dual blood supply: about 75 % of its blood comes from the hepatic portal vein, full of nutrients from the gut, and 25 % from the hepatic artery, rich in oxygen. All of it leaves by the hepatic veins into the inferior vena cava.

The liver as glass in the simulator, showing the portal vein in purple, the hepatic artery in red, the bile ducts in green and the hepatic veins in blue draining into the inferior vena cava
Inside the liver: the portal vein, hepatic artery, bile ducts and hepatic veins.

The liver lobule and its zones

Under the microscope the liver is made of hexagonal lobules about 1 mm across. At each corner is a portal triad (a branch of the portal vein, a branch of the hepatic artery and a bile ductule); in the middle is the central vein. Plates of hepatocytes one cell thick radiate between them, with leaky capillaries called sinusoids in between, lined by Kupffer cells. Blood flows inward from the triads to the central vein, while bile flows outward in tiny canaliculi between the hepatocytes. Cells near the triads (zone 1) get the most oxygen and do most gluconeogenesis and urea making; cells near the central vein (zone 3) do most drug metabolism, which is why acetaminophen damages them first.

A liver lobule in the simulator: a hexagon of pink hepatocyte plates radiating from a central vein, with portal triads at the corners and red blood cells flowing in the sinusoids
A living lobule: blood flows to the central vein, bile flows out to the portal triads.

Bilirubin and the three types of jaundice

Jaundice is yellow skin and eyes from too much bilirubin (over about 50 µmol/L, 3 mg/dL). Where the problem lies decides which bilirubin rises:

TypeCauseBloodUrineStool
Pre-hepaticToo many red cells broken down (hemolysis)Unconjugated bilirubin highNo bilirubin, urobilinogen highDark
HepaticLiver cells damaged (hepatitis, cirrhosis); Gilbert syndrome; newbornsBoth kinds high, ALT highBilirubin presentNormal or pale
Post-hepaticBile duct blocked (gallstone, tumor)Conjugated bilirubin high, ALP and GGT highDark, bilirubin +++, no urobilinogenPale (clay-colored)

Liver function tests

TestNormalHigh or low means
ALT, ASTUnder about 40 U/LLiver cells dying; AST over twice ALT suggests alcohol
ALP, GGTALP 44–147, GGT under 61 U/LBile not flowing (cholestasis); GGT also rises with alcohol
Bilirubin3–21 µmol/L (0.2–1.2 mg/dL)Jaundice (see above)
Albumin35–50 g/L (3.5–5.0 g/dL)Low when the liver cannot make proteins (cirrhosis)
INRAbout 1.0High when clotting factors are not made (liver failure) or vitamin K is missing

How the liver breaks down alcohol and acetaminophen

Alcohol is oxidised by alcohol dehydrogenase to acetaldehyde, then by ALDH2 to acetate. The enzyme is saturated even at low levels, so the liver clears a fixed amount, about 0.15 g/L of blood alcohol an hour (roughly one drink an hour), whatever you drink; coffee and cold showers do not speed it up. The extra NADH blocks gluconeogenesis and builds fat, which is why heavy drinking causes fatty liver. Acetaminophen (paracetamol) is mostly glucuronidated and sulfated, but a few per cent become NAPQI, a toxic molecule that glutathione neutralises. In an overdose those pathways saturate, glutathione runs out and NAPQI kills zone-3 hepatocytes over the next one to three days. N-acetylcysteine refills glutathione and works best within 8 hours. Everything here is an educational model, not medical advice: anyone who has taken too much acetaminophen needs emergency care at once.

Practicals and course links

PracticalWhat you find outCourse links
Label the liver and its lobuleLobes, vessels, triads, central veinGCSE, A&P
Catalase in liverEnzyme activity and temperatureGCSE and A-level enzymes
Liver function test detectiveThe three jaundices and cirrhosisA-level, AP Bio, A&P
Alcohol eliminationWidmark's formula and zero-order kineticsA-level, AP Bio
Treating an acetaminophen overdoseNAPQI, glutathione and the antidoteA-level, pharmacology

Frequently asked questions

What are the main functions of the liver?

The liver stores glucose as glycogen and releases it between meals, turns ammonia into urea, makes about 600 mL of bile a day, conjugates and excretes bilirubin, breaks down alcohol, drugs and hormones, makes albumin and clotting factors, and stores vitamins A, D and B12, iron and copper. Its Kupffer cells also remove bacteria and old red blood cells.

What are the three types of jaundice?

Pre-hepatic jaundice comes from too much red-cell breakdown (hemolysis): unconjugated bilirubin rises and the urine has no bilirubin. Hepatic jaundice comes from damaged liver cells (hepatitis, cirrhosis): both kinds of bilirubin rise and liver enzymes are high. Post-hepatic (obstructive) jaundice comes from a blocked bile duct, often a gallstone: conjugated bilirubin, ALP and GGT rise, the urine is dark and the stools are pale.

What is a liver lobule?

A liver lobule is the liver's small hexagonal unit, about 1 mm across. Portal triads (a branch of the portal vein, a branch of the hepatic artery and a bile ductule) sit at its corners and a central vein at its middle. Plates of hepatocytes radiate between them with sinusoids in between: blood flows inward to the central vein and bile flows outward to the bile ductules.

How fast does the liver remove alcohol?

About 0.15 g/L of blood alcohol an hour (0.015 % BAC an hour), roughly one standard drink an hour. Alcohol dehydrogenase is saturated even at low levels, so the rate stays about the same however much is drunk, and nothing such as coffee or a cold shower speeds it up.

Explore related simulators

Follow a meal from mouth to colon, with bile emulsifying fat, in the Human Digestive System Simulator. See how the liver, pancreas and muscles keep blood sugar steady in the Blood Glucose Regulation Simulator, how the kidneys excrete the urea the liver makes in the Kidney Simulator, and the red blood cells whose hemoglobin becomes bilirubin in the Interactive Blood Cell Model. Measure catalase and other enzymes in the Enzyme Kinetics Virtual Lab.

Sources: Hall and Hall, Guyton and Hall Textbook of Medical Physiology, 14th edition, chapter 71; Boron and Boulpaep, Medical Physiology, 3rd edition, chapter 46; Couinaud (1957), Le foie: études anatomiques et chirurgicales; Rumack and Matthew (1975), Acetaminophen poisoning and toxicity, Pediatrics 55: 871–876; Widmark (1932); OpenStax Anatomy and Physiology 2e, section 23.6. The 3D liver, gallbladder, pancreas and surrounding organs are BodyParts3D 4.0 (© DBCLS, CC BY 4.0; Mitsuhashi and others 2009); the vessel trees inside the liver are drawn by the simulator from its segments.

Updated