Chemistry Calculations: Difference between revisions
No edit summary |
No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
<math display="block">\bar{x}=\frac{x_1+x_2+...+x_n}{n}</math> | <math display="block">\bar{x}=\frac{x_1+x_2+...+x_n}{n}</math> | ||
=== Sample Standard Deviation === | === 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. | Use standard deviation when the '''mean of two methods is the same.''' Report as +1 decimal place more than the data. | ||
| Line 33: | Line 33: | ||
* 1-2s (one control value exceeds the mean ±2 SD) | * 1-2s (one control value exceeds the mean ±2 SD) | ||
* R10x (ten consecutive values fall on one side of the mean) | * 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. | |||
<math display="block">Specificity=\frac{\mbox{True Negatives}}{\mbox{True Negatives }+\mbox{ False positives}}</math> | |||
=== Sensitivity Calculation (%) === | |||
The sensitivity is the probability that a given person who has a condition (e.g., disease) would actually test positive. | |||
<math display="block">Sensitivity=\frac{\mbox{True Positives}}{\mbox{True Positives }+\mbox{ False negatives}}</math> | |||
=== 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. | |||
<math display="block">\mbox{Negative Predictive Value}=\frac{\mbox{True Negatives}}{\mbox{True Negatives }+\mbox{ False negatives}}</math> | |||
=== 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. | |||
<math display="block">\mbox{Positive Predictive Value}=\frac{\mbox{True Positives}}{\mbox{True Positives }+\mbox{ False positives}}</math> | |||
== Blood pH & Respiration == | == Blood pH & Respiration == | ||
=== Blood pH Calculations === | === Blood pH Calculations (unitless) === | ||
<math display="block">pH=6.1+log\frac{[HCO^-]}{0.03*P_{CO2}}</math> | <math display="block">pH=6.1+log\frac{[HCO^-]}{0.03*P_{CO2}}</math> | ||
OR | |||
<math display="block">pH=6.1+log\frac{[HCO^-]}{dCO_2}</math> | |||
[HCO-] = concentration of bicarbonate | dCO<sub>2</sub> = dissolved CO<sub>2</sub> (mmol/L) | ||
PCO<sub>2</sub> = partial pressure CO<sub>2</sub> (mmHg) | |||
[HCO<sup>-</sup>] = concentration of bicarbonate (mmol/L) | |||
=== Conversion Between PCO<sub>2</sub> (mmHg) and dCO<sub>2</sub> (mmol/L) === | |||
<math display="block">dCO_2=PCO_2*0.03</math> | |||
=== Calculation of HCO<sub>3</sub><sup>-</sup> (mmol/L) === | |||
Used when TCO<sub>2</sub> is measured via a wet or dry methodology. | |||
<math display="block">[HCO_3^-]=T_{CO_2}-1.2 \mbox{ mmol/L}</math> | |||
== Kidney Function Testing == | == Kidney Function Testing == | ||
| Line 78: | Line 110: | ||
== Electrolytes & Osmolality == | == 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. | 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. | ||
| Line 86: | Line 118: | ||
<math display="block">\mbox{Osmolar Gap}=\mbox{Measured Osmolality}-\mbox{Calculated Osmolality}</math> | <math display="block">\mbox{Osmolar Gap}=\mbox{Measured Osmolality}-\mbox{Calculated Osmolality}</math> | ||
=== Freezing Point Depression (°C) === | |||
Calculates the freezing temperature based on osmolality. | |||
<math display="block">\mbox{Osmolality (mmol/kg)}=\frac{\mbox{FP Depression}}{1.86\mbox{°C}}*100</math> | |||
=== 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<sup>+</sup>) ions are not included in this calculation in North America. | |||
<math display="block">\mbox{Anion gap}=(Na^+)-(Cl^-+HCO_3^-)</math> | |||
== Dilutions & Concentrations == | == Dilutions & Concentrations == | ||
| Line 101: | Line 143: | ||
<math display="block">V_{diluent}=V_{total}-V_{solute}</math> | <math display="block">V_{diluent}=V_{total}-V_{solute}</math> | ||
== Absorbance & Measurement == | |||
Determining Unknown Concentration by Absorbance | |||
<math display="block">[Unknown]=\frac{Abs_u*[Standard]}{Abs_s}</math> | |||
[[Category:Calculations]] | |||
__NOEDITSECTION__ | |||
[[Category:Chemistry]] | |||
Latest revision as of 19:07, 2 March 2025
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.
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.
where x = data and
Coefficient of Variation (%)
Use coefficient of variation when the mean of two methods is different. Report to 1 decimal place.
Percent Error (%)
Report to 1 decimal place.
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.
Sensitivity Calculation (%)
The sensitivity is the probability that a given person who has a condition (e.g., disease) would actually test positive.
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.
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.
Blood pH & Respiration
Blood pH Calculations (unitless)
OR
dCO2 = dissolved CO2 (mmol/L)
PCO2 = partial pressure CO2 (mmHg)
[HCO-] = concentration of bicarbonate (mmol/L)
Conversion Between PCO2 (mmHg) and dCO2 (mmol/L)
Calculation of HCO3- (mmol/L)
Used when TCO2 is measured via a wet or dry methodology.
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.
Convert mmol/L to mmol/day:
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.
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.
From this, the osmolar gap can be calculated:
Freezing Point Depression (°C)
Calculates the freezing temperature based on osmolality.
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.
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 = 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.
Absorbance & Measurement
Determining Unknown Concentration by Absorbance