Calculator — desired over have

Dosage calculator for nurses

Use D/H x Q to work out how many tablets or how many mL to give.

Short answer: Amount to give = (D ÷ H) × Q, where D is the desired (ordered) dose, H is the dose on hand and Q is the quantity it comes in. Ordered 500 mg with 250 mg tablets on hand gives (500 ÷ 250) × 1 = 2 tablets. D and H must be in the same unit.

Dosage calculator

Enter the ordered dose, the dose on hand and the quantity.

Calculate D/H x Q

The D/H x Q formula

Amount = (D ÷ H) × Q
Worked example 1: Order: amoxicillin 500 mg PO. On hand: 250 mg capsules. (500 ÷ 250) × 1 = 2 capsules.

Worked example 2: Order: amoxicillin 400 mg PO. On hand: 250 mg/5 mL suspension. (400 ÷ 250) × 5 = 8 mL.
01

Check the units first

If the order is in mcg and the drug is in mg, convert first. 1 mg = 1,000 mcg.

02

Q is rarely just 1

For 250 mg/5 mL, H is 250 mg and Q is 5 mL. Using Q = 1 here gives a wrong answer.

Learn the method on the desired over have formula page. Related: dilution calculator, mg per mL, dosage calculations for nursing and practice problems.

Study aid, not for clinical decisions: These examples are for learning only. In practice, follow your facility's policy, check a drug reference and have the calculation verified.

Frequently asked questions

How do you calculate a drug dose?+

Use D/H x Q: (desired dose ÷ dose on hand) × quantity. For 500 mg ordered and 250 mg tablets on hand, (500 ÷ 250) × 1 = 2 tablets.

What do D, H and Q mean?+

D is the desired (ordered) dose, H is the dose on hand (strength), and Q is the quantity that contains H, such as 1 tablet or 5 mL.

What if the order and the label use different units?+

Convert to the same unit before using the formula. Divide mcg by 1,000 to get mg, or multiply mg by 1,000 to get mcg.

Does D/H x Q work for tablets, liquids and injections?+

Yes. The formula is the same; only Q changes: 1 tablet, 5 mL of suspension, or 1 mL of injectable.

Is D/H x Q the same as dimensional analysis?+

They give the same answer. D/H x Q is a single formula, while dimensional analysis sets up units to cancel step by step.

Back to the dosage calculations guide →

Practice dosage calculations in Dos

Dos is a practice app for drug calculations. It has practice tests of ten questions, a built-in calculator next to each question, and statistics per topic.