Area Under Curve (Trapezoidal)

Calculate AUC for pharmacokinetics.

Result:

--

Measuring Total Exposure: The Significance of AUC

In the world of pharmaceuticals, simply knowing how much of a drug you took (the dose) isn't enough. The body is a dynamic system—it absorbs, distributes, metabolizes, and excretes the drug continuously. To understand the actual effect of a medication, scientists measure the "Area Under the Curve" (AUC) of a concentration-vs-time plot. The AUC represents the total extent of drug exposure in the bloodstream.

What is the "Curve"?

Imagine a graph where the X-axis is Time (hours since taking a pill) and the Y-axis is the Concentration of drug in your blood (mg/L).
1. Absorption Phase: The curve goes up as the drug enters your blood.
2. Cmax (Peak): The highest point of the curve.
3. Elimination Phase: The curve goes down as your liver and kidneys clear the drug.
The Area Under this Curve (AUC) is the integral of this function. It quantifies the total body burden of the drug.

The Trapezoidal Rule

Since we cannot measure blood levels continuously (infinite points), we take samples at specific intervals (e.g., 1 hour, 2 hours, 4 hours). To calculate the area between these points, we use the Linear Trapezoidal Rule.
- We treat the segment between two points as a trapezoid rather than a rectangle to account for the slope.
- Formula: AUC = [(C1 + C2) / 2] × (T2 - T1)
This simple geometric approximation is remarkably accurate for most pharmacokinetic profiles.

Why is AUC Critical?

1. Bioequivalence (Generics vs. Brand): For a generic drug to be approved by the FDA, it doesn't just need the same ingredients. It must produce a similar AUC (usually within 80-125%) to the brand-name drug. This proves that the body is exposed to the same amount of active ingredient.
2. Toxicity Monitoring: For drugs with a "narrow therapeutic index" (like some antibiotics or chemotherapy), high AUC values can signal toxicity, while low values signal treatment failure.
3. Clearance Calculation: AUC is mathematically related to Clearance (CL). Dose = CL × AUC. If you know the dose and measure the AUC, you can calculate how fast the patient's liver/kidneys are working.

Units of Measurement

AUC is typically expressed in units of Concentration × Time.
- Common units: (mg/L) × h = mg·h/L
- Or: (µg/mL) × h = µg·h/mL

Beyond Pharma: ROC Curves

The term "Area Under the Curve" is also famous in Data Science and Machine Learning. An AUC-ROC Curve (Receiver Operating Characteristic) measures the performance of a classification model. An AUC of 1.0 means a perfect model (perfectly distinguishes between positive and negative classes), while an AUC of 0.5 means the model is as good as a random guess.