One-compartment clearance, volume, rate constant and half-life
pk_one_compartment_parameters
Works out clearance, volume, rate constant and half-life of a one-compartment model from a pair of them.
- Runs
- On the server
- Level
- Checked against a reference: the project's exact rational arithmetic and a second implementation in Python by a separate agent of the same model family
What it is
Returns a one-compartment model's CL, V, k and t½ from one of the five determined pairs, by k = CL/V and t½ = ln 2/k. Use when two of these parameters are known and the other two are wanted. Not for unit changes of a single quantity: use `calc_unit_conversion`; it does not analyse concentration data or fit a model. Refuses any set other than the stated pair; every value needs its unit and must be above zero.
Field: Pharmacokinetics and DMPK.
What it does
You give
given(required): Which pair is supplied: the other two quantities are returned.clearance: Clearance (CL), if it is one of the pair. Must be above 0 L/h. Optional.volume: Volume of distribution (V), if it is one of the pair. Must be above 0 L. Optional.eliminationRateConstant: First-order elimination rate constant (k), if it is one of the pair. Must be above 0 1/h. Optional.halfLife: Half-life (t½), if it is one of the pair. Must be above 0 h. Optional.
No request is recorded for this tool.
Limits
- Pharmacokinetics and DMPK: research arithmetic on concentrations, times and parameters you supply; not a dosing, clinical, welfare or diagnostic authority.
- No tool here outputs or recommends a dose, and no result is a prediction for any person or animal.
- Conversions within a one-compartment model with linear elimination, which is your assumption; nothing here tests that it describes your data.
- Research arithmetic; not a dosing, clinical, welfare or diagnostic authority.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- the quantities supplied are not exactly the pair `given` names: an over-determined set is refused, not checked for consistency (Drybench ruling, 10 November 2026).
Every input, with its units5 inputs
given(required): Which pair is supplied: the other two quantities are returned.clearance: Clearance (CL), if it is one of the pair. Must be above 0 L/h. Optional.volume: Volume of distribution (V), if it is one of the pair. Must be above 0 L. Optional.eliminationRateConstant: First-order elimination rate constant (k), if it is one of the pair. Must be above 0 1/h. Optional.halfLife: Half-life (t½), if it is one of the pair. Must be above 0 h. Optional.
Every refusal, with its code1 refusal
| Code | When |
|---|---|
INPUTS_NOT_THE_STATED_PAIR | the quantities supplied are not exactly the pair `given` names: an over-determined set is refused, not checked for consistency (Drybench ruling, 10 November 2026). |
The calculation
The method's equations, constants and worked example.
Equation 1
for the other given pairs, CL = k·V or V = CL/k, with k = ln 2/t½ when the half-life is given
| Symbol | Meaning |
|---|---|
k | first-order elimination rate constant, 1/h |
CL | clearance, L/h |
V | volume of distribution, L |
Source 1.
Equation 2
t½ = ln 2 / k
| Symbol | Meaning |
|---|---|
t½ | half-life, h |
k | first-order elimination rate constant, 1/h |
Source 1.
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of pk-one-compartment-parameters@1.0.3, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- given = clearance_and_volume
- clearance = 5 L/h
- volume = 50 L
Steps
- k = 0.1 1/h, from clearance, volume; by equation 1; gives eliminationRateConstant.
- t-half = 6.9314718 h, from k; by equation 2; gives halfLife.
The working, as the case writes it:
k = 5/50 = 0.1 1/h
t½ = ln 2/0.1 = 6.9314718055994531 h
Answer
eliminationRateConstant = 0.1 1/h
halfLife = 6.9314718 h
Where these values came from: our own exact-arithmetic script and a hand-worked case; stored reference values, one_compartment().
At build the tool returned this answer within the tolerance the file states: relative 1e-12 on every quantity, absolute 1e-24 below 1e-12 in the same unit; statuses, codes and units exact.
Sources
Bourne DWA. Basic Pharmacokinetics, online textbook (boomer.org/c/p4), Chapter 4, One Compartment IV Bolus
Used for: One-compartment relations among clearance, volume, elimination rate constant and half-life. At: p. Chapter 4, page 8 (Clearance), section as stated in Bourne, for the one compartment model: Equation 4.8.4, CL = kel·V (image Fig38.gif, SHA-256 65153d19f4f6430e91048b1d5854cd3d4c984675382d451209db9c1c47c32cac), and Equation 4.8.5, kel = CL/V and t½ = ln(2)·V/CL = 0.693·V/CL (Fig0410.png, SHA-256 063c0dc3f60c0aaaf9ee506e2b2d7bd4b53a84d19f53e731dc511766ff61ddc4; Fig0411.png, SHA-256 d3f9d303b9d43ff8a201f8d70cab09c8aa145aa3194cd75c0eb8ab6389c3d202). V = CL/k is Equation 4.8.4 rearranged; reading the caller's stated values as the parameters of a one-compartment model with linear elimination is this method's own identification, not the book's; p. Chapter 4, page 10 (Half-life of Elimination), section as stated in Bourne: Equation 4.10.4, ln2 = kel·t½ = 0.693 (image Fig040804.png, SHA-256 6d26d2ea52e1918837baff9f1dab22f67b5b91566e18a59b5d267a12006935a0), and Equation 4.10.5, t½ = 0.693/kel (Fig040805.png, SHA-256 a3554d8808f590c1721e7be9b70d7e2d5deef747e551c997753679de67443e1a); t½ = ln 2/k is Equation 4.10.4 solved for t½, with ln 2 itself rather than its rounding 0.693 (Equation 4.8.5 also prints ln(2)).
Read in full, 17 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
Our own exact-arithmetic script and a hand-worked case.
- Cases
No case set is linked to this version.
- Not checked
Whether a one-compartment model with linear elimination describes the caller's data; per-body-mass units (L/h/kg) and other time units, which are not offered in 1.0.0. A clearance, volume or rate constant that comes out as exactly 0 from inputs above 0 is refused as RESULT_OUTSIDE_DOUBLE_RANGE, never served as 0.
Changes to its methods0 changes
No change is logged for these method versions.