PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 44 in Biophysics, Fluids & Geoscience.

View category →
NewUniversity / research

Earthquake Aftershocks: Omori + Gutenberg-Richter

Launch Simulator

Modified Omori aftershock decay n(t)=K/(t+c)^p combined with Gutenberg-Richter magnitude-frequency curves, b-value, and a synthetic catalog.

NewUniversity / research

SIR Vaccination Threshold

Launch Simulator

Herd-immunity threshold simulator: R_eff = R0(1-v), SIR outbreak curves, peak infected, and final size vs vaccine coverage.

NewUniversity / research

Enzyme Inhibition Kinetics

Launch Simulator

Competitive, noncompetitive, and uncompetitive inhibition: Michaelis-Menten curves, apparent Km/Vmax shifts, and a Lineweaver-Burk sketch.

NewUniversity / research

Kelvin–Helmholtz Shear Instability

Launch Simulator

Two parallel flows with slip U: Fourier-mode growth rate sketch and animated interface billows (linear toy model).

NewUniversity / research

Leslie Matrix Age-Structured Population

Launch Simulator

Fertility and survival matrix model: total population trajectory, dominant eigenvalue lambda, and stable age distribution.

NewUniversity / research

Groundwater Contaminant Plume

Launch Simulator

Advection-dispersion pulse in groundwater with longitudinal/transverse spreading, retardation factor R, and a monitoring-well breakthrough curve.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Biophysics, Fluids & Geoscience/Pharmacokinetics: 1-/2-Compartment

Pharmacokinetics: 1-/2-Compartment

Linear IV PK simulator: bolus, infusion, and repeated dosing; central/peripheral concentration curves, terminal half-life, AUC, Cmax/Cmin, loading dose, and maintenance rate.

Pharmacokinetics

500 mg
12 h
1.5 h
42 L
4.2 L/h
35 L
5 L/h
8 mg/L
96 h

Central concentration is C = A_c/V_c. Clearance removes drug from the central compartment; in the 2-compartment model Q exchanges drug with a peripheral compartment. Loading dose uses target × apparent Vd.

Measured values

terminal t1/26.9 h
AUC1798 mg·h/L
Cmax / late Cmin30.48 / 10.65 mg/L
loading dose336.0 mg
maintenance rate33.6 mg/h
time above target99%

This is an IV linear PK teaching model. It omits absorption, saturable metabolism, protein binding, organ-specific physiology, and patient variability.

Live graphs

About this model

This simulator implements a linear intravenous pharmacokinetic compartment model. In the 1-compartment setting, drug enters a central volume V_c, concentration is C=A_c/V_c, and clearance removes drug at rate CL·C. In the 2-compartment setting, a peripheral amount A_p exchanges with the central compartment through intercompartmental clearance Q, creating a distribution phase followed by a slower terminal elimination phase. The dosing input can be a single IV bolus, a zero-order infusion, or repeated doses every τ hours. The plots show central concentration, optional peripheral concentration, target concentration, and input timing. Readouts report terminal half-life, trapezoidal AUC, Cmax and late Cmin, a simple loading-dose estimate, maintenance infusion rate for the selected target, and percent of simulated time above target.

Who it's for: Students in pharmacology, biomedical engineering, physiology, or clinical sciences learning dose-concentration-time relationships and compartment models.

Key terms

  • Pharmacokinetics
  • Compartment model
  • Bolus dose
  • Infusion
  • Clearance
  • Volume of distribution
  • Half-life
  • AUC
  • Loading dose

How it works

Interactive pharmacokinetics compartment model: compare 1- and 2-compartment IV bolus/infusion dosing, concentration-time curves, half-life, AUC, and loading-dose intuition.

Key equations

dA_c/dt = R_in − (CL/V_c)A_c − (Q/V_c)A_c + (Q/V_p)A_p, dA_p/dt = (Q/V_c)A_c − (Q/V_p)A_p, C = A_c/V_c. For one compartment set Q = 0.

Frequently asked questions

Why does the 2-compartment curve often fall in two phases?
After an IV dose, drug first distributes from the central compartment into peripheral tissues, causing a relatively fast drop in central concentration. Later, central and peripheral compartments equilibrate and the terminal slope mainly reflects elimination plus redistribution.
What does loading dose mean here?
The loading-dose readout is target concentration times an apparent volume of distribution. It is a first-order estimate for reaching the target rapidly; real dosing also depends on safety, bioavailability, distribution kinetics, and therapeutic window.
What are the limitations of this model?
It assumes linear IV pharmacokinetics with constant volumes and clearance. It omits absorption, saturable metabolism, protein binding, renal/hepatic physiology, active metabolites, and patient variability.