Example 1
- 500 mg
- factor 3
1500
How much sodium at 500 mg and factor 3? 1500. A bare number, no mg.
Type milligrams and a factor. 500 × 3 gives 1500. 200 × 2 gives 400. 800 × 1 gives 800. The result has no unit. A product, not a guidance cap.
Not a clinic verdict and not a WHO limit. The calculator multiplies two fields. The result label may say limit; the code still prints the product.
Enter data and click Calculate.
Daily sodium in this calculator is milligrams times a factor. 500 × 3 = 1500. The result is 1500, with no mg and no word limit. 200 × 2 = 400. 800 × 1 = 800. No table threshold sits in the formula.
Field a is a serving in mg. Field b is the factor: three servings, two meals, one product. 500 and 3 give 1500 because that is how the code multiplies. It does not check whether 1500 is „too much”.
WHO and national guidance often sit near 2000 mg sodium per day, sometimes lower. This calculator does not insert that. You compare 1500 with 2000 yourself. 800 × 1 stays 800 even when the label talks about a limit.
Table salt is not this field. 1 g of salt is about 400 mg sodium, but there is no NaCl converter here. You already type sodium in mg, then times b.
Type mg, type the factor, then Calculate. A comma in 500.5 parses. Zero times anything is 0. A sum sketch, not a clinic diet.
500 × 3 gives 1500. 200 × 2 gives 400. 800 × 1 gives 800. The result is a bare number, as a bare result string.
result = a × b (bare number, no unit)
Daily sodium is a × b. 500 × 3 shows 1500, with no unit. This is not a WHO limit.
1500
How much sodium at 500 mg and factor 3? 1500. A bare number, no mg.
400
How much at 200 mg and 2? 400.
800
How much at 800 mg and 1? 800. One product, the same entry.
1500. The calculator shows String(1500), with no mg.
No. WHO is often about 2000 mg per day. Here only the product 500 × 3.
400. Again a bare number.
800. Factor 1 leaves the same entry.
That is how the script is written: the result string = String(result). No unit.
No. You already type sodium in mg. 1 g of salt is not this field.
No. The label may say limit; the code multiplies a × b.
The calculator does not judge that. Not a clinic verdict.
Yes. 500.5 × 2 gives 1001.
The calculator multiplies milligrams of sodium. A WHO limit is not in the formula.
Page updated in 2026.