Jump to content

Chemistry Calculations

From MedLabWiki

Statistics & Quality Control

Mean/Average (unit)

The mean is the average of a series of numbers. Report to the same units and decimal places as the data.

x¯=x1+x2+...+xnn

Sample Standard Deviation (same unit as data)

Use standard deviation when the mean of two methods is the same. Report as +1 decimal place more than the data.

s=Σ(xx¯)2n1where x = data and x¯=Mean

Coefficient of Variation (%)

Use coefficient of variation when the mean of two methods is different. Report to 1 decimal place.

CV=SDMean*100

Percent Error (%)

Report to 1 decimal place.

%Error=ActualTheoreticalTheoretical*100%

Westgard Rules

There are 4 reject rules and 2 warning rules:

  • 1-3s (one control value exceeds the mean ±3 SD)
  • 2-2s (two consecutive control values exceed the mean ±2 SD)
  • R-4s (when one value exceeds the mean +2 SD and another value exceeds -2 SD within the same run so that the values are 4 SD different from each other)
  • 4-1s (four consecutive control values exceed the mean ±1 SD)

Warning Rules:

  • 1-2s (one control value exceeds the mean ±2 SD)
  • R10x (ten consecutive values fall on one side of the mean)

Specificity Calculation (%)

The specificity is the probability that a given person who does not have a condition (i.e., is healthy) would actually test negative.

Specificity=True NegativesTrue Negatives + False positives

Sensitivity Calculation (%)

The sensitivity is the probability that a given person who has a condition (e.g., disease) would actually test positive.

Sensitivity=True PositivesTrue Positives + False negatives

Negative Predictive Value (%)

The negative predictive value (NPV) is a measure of how often someone who tests negative for a disease will not have the disease.

Negative Predictive Value=True NegativesTrue Negatives + False negatives

Positive Preductive Value (%)

The positive predictive value (PPV) is a measure of how often someone who tests positive for a disease will actually have the disease.

Positive Predictive Value=True PositivesTrue Positives + False positives

Blood pH & Respiration

Blood pH Calculations (unitless)

pH=6.1+log[HCO]0.03*PCO2

OR

pH=6.1+log[HCO]dCO2

dCO2 = dissolved CO2 (mmol/L)

PCO2 = partial pressure CO2 (mmHg)

[HCO-] = concentration of bicarbonate (mmol/L)

Conversion Between PCO2 (mmHg) and dCO2 (mmol/L)

dCO2=PCO2*0.03

Calculation of HCO3- (mmol/L)

Used when TCO2 is measured via a wet or dry methodology.

[HCO3]=TCO21.2 mmol/L

Kidney Function Testing

Creatinine Clearance (mL/s)

Creatinine clearance is (U*V)/S and the corrected creatinine clearance uses BSA to correct for size/muscle mass.

CC=U*VS*1.73BSA

CC=[Urine Creatinine]*Urine flow][Serum creatinine]*1.73Body surface area

Convert mmol/L to mmol/day:

24h excretion=24h urine volume * [Analyte]1000

U = urine creatinine (μmol/L)

S = serum creatinine (μmol/L)

V = urine flow rate (mL/s) - this is the 24h volume (mL) divided by 86 400 seconds per 24h

BSA = body surface area (m2) - calculate using height and weight on nomogram

Creatinine (mmol/d)

Used as measure of creatinine levels from 24h urine.

Creatinine=V*c1000

=Urine volume *[Creatinine]1000

eGFR Estimated Glomerular Filtration Rate

Complicated calculation using standardized serum creatinine and many correction factors for age and gender.

Electrolytes & Osmolality

Osmolal Gap (Osm/kg)

Calculates difference between expected osmolality vs actual osmolality. High osmolar gap may be due to presence of volatile or osmotically active compounds like ethanol, methanol, etc.

Calculated Osmolality=2*[Na2+]+[Urea]+[Glucose]

From this, the osmolar gap can be calculated:

Osmolar Gap=Measured OsmolalityCalculated Osmolality

Freezing Point Depression (°C)

Calculates the freezing temperature based on osmolality.

Osmolality (mmol/kg)=FP Depression1.86°C*100

Anion Gap - North America (mmol/L)

The anion gap estimates the difference in cations vs. anions in blood. It can be used to help investigate acid-base disturbances and issues with electrolyte measurement. Potassium (K+) ions are not included in this calculation in North America.

Anion gap=(Na+)(Cl+HCO3)

Dilutions & Concentrations

Calculating Dilutions Using Dilution Factors and Total Volume

You can determine the amount of solute required for a dilution with a given dilution factor and final (total) volume.

DF=VtotalVsolute

Vsolute=VtotalDF

DF = dilution factor (e.g., in a 1:250 dilution, the DF is 250)

You can then determine the amount of diluent/solvent needed from the calculated volume of solute required.

Vdiluent=VtotalVsolute

Absorbance & Measurement

Determining Unknown Concentration by Absorbance

[Unknown]=Absu*[Standard]Abss