Using the Anion Gap Calculation
The Anion Gap Calculation subtracts chloride and bicarbonate from sodium. Sodium begins at 140. Chloride begins at 104. Bicarbonate begins at 24. Potassium (optional) begins blank. Choose Calculate the gap. The label above the headline reads Anion gap. The headline is 12. The sentence says the anion gap is 12. Potassium is not included. This figure is not a diagnosis.
The gap is sodium minus chloride minus bicarbonate when potassium is blank. 140 minus 104 is 36, and 36 minus 24 is 12. The Sodium line is 140. The Chloride line is 104. The Bicarbonate line is 24. The Anion gap line is 12, matching the headline. There is no potassium line. The steps say to use sodium alone, subtract chloride and bicarbonate, and read the gap of 12. The page does not interpret the gap. This is not a diagnosis and not medical advice.
Copy result copies the sentence, which names the gap, whether potassium was included, and the line that this figure is not a diagnosis. Reset returns sodium to 140, chloride to 104, bicarbonate to 24, and potassium to blank, and the headline returns to Enter sodium, chloride, and bicarbonate. Copy the sentence before you reset. Calculate the gap on 140, 104, and 24 twice and the headline stays 12. The page does not add a reference interval, a unit label, or a second set of labs in the same run.
Type 4 in the potassium field and calculate again. The page adds potassium to sodium first, so the base is 144, and 144 minus 104 minus 24 is 16. The headline is 16. The sentence says the anion gap is 16. Potassium is included. This figure is not a diagnosis. The steps say to add potassium to sodium, then subtract chloride and bicarbonate. The Sodium line stays 140. The addition shows up in the gap, not as a rewritten sodium line. Clear the potassium field to return to the headline 12.
What the Headline 12 Measures
The headline is the anion gap for the labs you typed. For sodium 140, chloride 104, bicarbonate 24, and a blank potassium field, that gap is 12. The label reads Anion gap. The Anion gap line repeats 12. The sentence says the anion gap is 12, potassium is not included, and this figure is not a diagnosis. The page is not medical advice. It does not say whether 12 is high, low, or expected. The about line says the page does not interpret the gap.
How 140, 104, and 24 Become a Gap of 12
The page reads sodium, chloride, and bicarbonate as plain decimals. Each must be greater than 0 and at most 300. Potassium is read only when the field is not blank. A typed potassium must be greater than 0 and at most 20. The page starts from sodium. If potassium was typed, it adds that potassium to sodium and the first step says to add potassium to sodium. If potassium is blank, the first step says to use sodium alone. It then subtracts chloride and subtracts bicarbonate. The last step states the gap.
A percent drop from a start to a smaller end is a different subtraction. The Percentage Decrease Calculator takes a start of 50 and an end of 40. The drop is 10, which is 20 percent. That page divides the drop by the start and multiplies by 100. This page does not divide the gap by sodium, and the sample headline is 12 rather than a percent. Use the decrease page when you are measuring a drop from 50 to 40. Use this page when sodium 140, chloride 104, and bicarbonate 24 should return a gap of 12.
What the Four Fields Do Not Assume
The page does not know which sample the numbers came from, and it does not add a unit to the headline. The sentence names the gap and whether potassium is included, then says this figure is not a diagnosis. If you need a unit or a panel name, write it beside the copied sentence. The page also does not calculate a second gap in the same run. A second set of labs is a new entry in the four fields.
From 140, 104, and 24 to a Gap of 12
Leave sodium at 140, chloride at 104, bicarbonate at 24, and potassium blank. Choose Calculate the gap. The headline is 12. The Sodium line is 140. The Chloride line is 104. The Bicarbonate line is 24. The Anion gap line is 12. The sentence says the anion gap is 12. Potassium is not included. This figure is not a diagnosis. Calculate again. The figures match. The steps say to use sodium alone, subtract chloride and bicarbonate, and read the gap of 12.
Splitting a rational expression is a different kind of arithmetic. The Partial Fraction Calculator splits 3x + 5 over (x - 1)(x - 4). A is -2.666666666667 and B is 5.666666666667. The headline is -2.666666666667/(x - 1) + 5.666666666667/(x - 4). That page does not subtract chloride and bicarbonate from sodium, and that split is not a gap of 12. Use it when the inputs are m, n, and two different roots. Use this page when the inputs are the lab fields and the sample gap should be 12.
Labs People Subtract in the Wrong Order
A common miss is to subtract sodium from the other two labs instead of subtracting those labs from sodium. The page does sodium minus chloride minus bicarbonate. For the sample that is 140 minus 104 minus 24, which is 12. Another miss is to stop after 140 minus 104 and treat 36 as the headline. The headline includes the bicarbonate subtraction, so it is 12. Another miss is to assume blank potassium is zero inside the sum. Blank potassium is left out. The sentence says potassium is not included. Typing 0 is not the same as leaving the field blank. Potassium must be greater than 0 and at most 20, so 0 is rejected.
Averaging the three labs would be a different number from the gap. The Weighted Average Calculator multiplies values 1, 2, and 3 by weights 1, 1, and 2. The products add to 9. Divided by the weight total 4, the average is 2.25. That page does not subtract chloride and bicarbonate from sodium, and 2.25 is not the headline 12. Use it when the inputs are values and weights. Use this page when sodium 140, chloride 104, and bicarbonate 24 should return a gap of 12 with potassium not included.
Keeping Sodium, the Gap, and the Potassium Note
Copy the sentence. It already holds the gap, whether potassium was included, and the line that this figure is not a diagnosis. For the sample, the gap is 12 and potassium is not included. A note that says only 12 can be the gap, the bicarbonate, or a different panel. The sentence prevents that, and you can write 140, 104, and 24 beside it. The sodium, chloride, and bicarbonate lines are not part of the copy. Copy the sentence before you reset. Reset returns the headline to Enter sodium, chloride, and bicarbonate.
Solving a line for x is a different operation. The Inverse Function Calculator solves y = ax + b. Slope 2, intercept 3, and y = 11 give x = 4. That page does not subtract three lab fields, and x = 4 is not an anion gap of 12. Use it when the line is y = ax + b and the unknown is x. Use this page when the unknown is sodium minus chloride minus bicarbonate, and the sample with a blank potassium field should read 12.
A Gap for the Labs You Typed
The headline answers the anion gap for the fields on the form. From sodium 140, chloride 104, bicarbonate 24, and a blank potassium field, the answer is 12, and the sentence says potassium is not included. From the same three labs with potassium 4, the answer is 16, and the sentence says potassium is included. From sodium 100, chloride 104, bicarbonate 24, and a blank potassium field, the answer is -28. Each of those sentences says this figure is not a diagnosis. The page does not interpret the gap. This is not medical advice.
Checking the Subtraction
Start from sodium. Add potassium only when the field has a number. Subtract chloride, then subtract bicarbonate, and compare the result with the headline. For 140, 104, and 24 with potassium blank, the checks are 36 and then 12. For potassium 4, the checks are 144, then 40, then 16. For sodium 100 with the other two labs at 104 and 24 and potassium blank, the check is -28. If the rebuilt gap does not match, the fields changed between the run and the check. The sodium line shows the field, not the base after potassium is added.
A metabolic estimate is a different body figure. The BMR Calculator uses the Mifflin-St Jeor formula. A male at 70 kg, 175 cm, and age 30 is 1648.75. That page says the estimate is not a diagnosis. It does not subtract chloride and bicarbonate from sodium, and 1648.75 is not the gap 12. Use it when the inputs are weight, height, age, and sex. Use this page when the inputs are the lab fields and a blank potassium field should leave potassium out of a gap of 12.