API Calculation in Pharmaceutical Manufacturing: Formula, Assay Correction, LOD & Examples

Calculating the quantity of API is one of the basic but important activities in pharmaceutical manufacturing. Before dispensing a material, the production team needs to know how much active pharmaceutical ingredient is actually required for the batch.

The calculation is not always as simple as multiplying the tablet strength by the batch size. The assay or potency of the API, moisture or loss on drying (LOD), salt form, and approved manufacturing adjustments may also need to be considered.

A small mistake in the calculation can affect the amount of active ingredient going into the batch. Therefore, the calculation should always be checked against the approved Batch Manufacturing Record (BMR), specification, formula card, and current test report/COA.

In this article, we will understand API calculation in pharmaceutical manufacturing with simple formulas and practical examples.

What is API Calculation in Pharmaceutical Manufacturing?

API calculation means determining the quantity of Active Pharmaceutical Ingredient (API) required to manufacture a particular batch of a drug product.

For example, suppose a tablet contains 500 mg of API and the batch contains 50,000 tablets.

At 100% assay:

API required = 500 mg × 50,000

= 25,000,000 mg

= 25 kg

This is the theoretical quantity when the API is considered to contain 100% active material.

In actual manufacturing, the API may have an assay such as 98%, 99%, or another value. In such cases, the quantity weighed may need to be adjusted so that the required amount of active drug is delivered.


Why API Quantity Calculation Is Important

The purpose of the calculation is not simply to decide how much material should be taken from the warehouse.

It helps ensure that:

  • The intended amount of API is added to the batch.
  • The product meets its required strength.
  • The dispensing quantity matches the approved formula.
  • Assay or potency differences are properly considered.
  • The manufacturing record contains a justified quantity.
  • Material reconciliation can be performed correctly.

In routine production, the calculation is generally performed using the approved manufacturing formula and the latest applicable material test results.


Basic API Calculation Formula for Tablets

The easiest case is when the API assay is considered 100%.

Formula

Theoretical API required (kg) =

Number of tablets × API strength per tablet (mg) ÷ 1,000,000

Example

Suppose:

  • Batch size = 100,000 tablets
  • Label claim = 500 mg/tablet

Therefore:

API required = 100,000 × 500 ÷ 1,000,000

API required = 50 kg

So, at 100% assay, the theoretical API quantity is 50 kg.

This basic calculation is useful for understanding the formulation before making any assay or moisture correction.


API Calculation Based on Assay

The API received from the supplier may not have an assay of exactly 100%.

For example, the approved specification may report an assay of 98.5%.

If the formulation theoretically requires 50 kg of active material, simply weighing 50 kg of a 98.5% assay material would provide less than 50 kg of active content.

Therefore, the quantity can be adjusted according to the applicable assay basis.

Assay correction formula

Adjusted API quantity = Theoretical API quantity × 100 ÷ Assay (%)

Example

Theoretical API requirement = 50 kg

API assay = 98.5%

Therefore:

Adjusted quantity = 50 × 100 ÷ 98.5

Adjusted quantity = 50.76 kg approximately

So, approximately 50.76 kg of the API would be required on this calculation basis.

The actual manufacturing calculation should always follow the approved formula and the assay basis specified for that material.


API Calculation Formula Using Potency

In pharmaceutical manufacturing, you may hear terms such as assay, potency, active content, and correction factor.

The exact terminology depends on the material specification and calculation method being used.

A common way to express the correction is:

Required quantity = Theoretical quantity × 100 ÷ Potency (%)

Example

Suppose the theoretical requirement is 20 kg and the applicable potency is 97.5%.

Required quantity = 20 × 100 ÷ 97.5

Required quantity = 20.51 kg approximately

The important point is that a lower potency means a larger quantity of material is required to provide the same calculated amount of active ingredient.


API Calculation With Assay and LOD

This is where API calculations become more important in practical manufacturing.

Sometimes the API assay is reported on a dried basis, while the material contains a certain amount of moisture or volatile matter measured as LOD.

If the calculation requires compensation for LOD, both values need to be considered according to the approved calculation procedure.

A commonly used calculation form is:

Quantity required = Theoretical quantity × 100 × 100 ÷ [Assay (%) × (100 − LOD (%))]

Example

Suppose:

  • Theoretical API quantity = 100 kg
  • Assay = 98%
  • LOD = 2%

Then:

Quantity = 100 × 100 × 100 ÷ [98 × (100 − 2)]

Quantity = 1,000,000 ÷ 9,604

Quantity ≈ 104.12 kg

Therefore, the calculated quantity is approximately 104.12 kg.

This type of calculation should only be used when the material specification and approved procedure require LOD/moisture compensation.

Do not automatically apply an LOD correction to every API. The assay basis and approved manufacturing calculation must be checked first.


Related Articles
→ Pharmaceutical Batch Manufacturing Process: Step-by-Step Guide
→ Dry Granulation Process in Tablet Manufacturing
→ Loss on Drying (LOD) in Pharmaceuticals: Principle, Procedure & Calculation
→ Pharmaceutical Dispensing: Procedure, Precautions & GMP Requirements
→ Line Clearance in Pharmaceuticals: Procedure, GMP Checklist and Common Failures
→ Wet Granulation in Pharmaceutical Manufacturing: Process, Principles and Practical Understanding

Why LOD Is Considered in Some API Calculations

LOD represents the amount of moisture and other volatile material lost under the specified test conditions.

For example, if an API contains 2% LOD, 100 kg of the material does not represent 100 kg of dry material.

Approximately:

100 kg × (100 − 2) / 100 = 98 kg

of material remains on the corresponding dry basis.

That is why the moisture or LOD value can affect the quantity calculation when the assay is expressed on a dried basis.

A pharmaceutical calculation should therefore clearly identify whether the assay is:

  • As-is basis
  • Dried basis
  • Anhydrous basis
  • Another specified basis

This point is important because using the wrong basis can give a different result.


API Quantity Calculation for a Batch of Tablets

A practical way to calculate API quantity is to start with the total number of dosage units.

Example

Product strength = 250 mg/tablet

Batch size = 200,000 tablets

First calculate the theoretical API requirement:

250 × 200,000 = 50,000,000 mg

Convert mg to kg:

50,000,000 ÷ 1,000,000 = 50 kg

Therefore:

Theoretical API requirement = 50 kg

Now suppose the API assay is 99%.

Adjusted API = 50 × 100 ÷ 99

Adjusted API = 50.51 kg approximately

The calculation gives approximately 50.51 kg before considering any other applicable correction.


API Calculation for Capsules

The same basic approach can be used for capsules.

Suppose:

  • API strength = 100 mg/capsule
  • Batch size = 300,000 capsules

Step 1: Calculate total API

100 × 300,000 = 30,000,000 mg

Step 2: Convert to kg

30,000,000 ÷ 1,000,000 = 30 kg

Therefore:

Theoretical API requirement = 30 kg

If the applicable assay is 98.5%:

Adjusted quantity = 30 × 100 ÷ 98.5

Adjusted quantity = 30.46 kg approximately

This is the same basic principle used for tablets; only the dosage unit changes.


API Calculation for Liquid Products

Liquid dosage forms require a slightly different approach because the strength may be written as mg/5 mL, mg/mL, or another concentration.

For example:

Paracetamol syrup = 120 mg/5 mL

Suppose the batch size is 1,000 litres.

First convert litres to millilitres:

1,000 L = 1,000,000 mL

Each 5 mL contains 120 mg.

Number of 5 mL portions:

1,000,000 ÷ 5 = 200,000

Total API:

200,000 × 120 mg = 24,000,000 mg

Convert to kg:

24,000,000 ÷ 1,000,000 = 24 kg

Therefore:

Theoretical API requirement = 24 kg

The same calculation can then be adjusted according to the applicable assay or potency.


API Salt Conversion Calculation

Another situation occurs when the formulation is expressed in terms of the active moiety or base, but the raw material is supplied as a salt.

For example, a formulation may require a certain amount of drug equivalent to the base, while the available raw material is a hydrochloride, sulfate, phosphate, or another salt.

In such cases, a molecular-weight-based conversion may be required.

General formula

Salt quantity = Required base quantity × Molecular weight of salt ÷ Molecular weight of base

Simple example

Suppose the required base quantity is 10 kg.

Molecular weight of salt = 200

Molecular weight of base = 180

Therefore:

Salt quantity = 10 × 200 ÷ 180

Salt quantity = 11.11 kg approximately

This calculation should only be performed using the molecular weights and active-equivalence basis specified in the approved formulation.

Do not assume that every salt can be converted using the same factor.


What Is a Salt Factor in API Calculation?

A salt factor is a conversion factor used when the required quantity is expressed on one chemical basis but the actual material being dispensed is another form.

A simple representation is:

Salt factor = Molecular weight of salt ÷ Molecular weight of active base

The factor is then used in the approved calculation to determine the quantity of the salt required.

The important point is that the chemical form of the API matters.

For this reason, production personnel should verify:

  • API name
  • Chemical form
  • Molecular weight
  • Assay basis
  • Active moiety requirement
  • Approved conversion factor

before using a salt correction.


Should Manufacturing Loss Be Added to API Calculation?

This depends on the approved manufacturing process.

A theoretical API calculation and a manufacturing overage are not necessarily the same thing.

For example, if a process has a validated and approved overage of 2%, the calculation may include that adjustment where permitted.

However, an operator should not simply add 1%, 2%, or 5% to an API quantity because some material may be lost during manufacturing.

Any overage should have a documented and approved basis.

This is especially important in GMP manufacturing because unnecessary overage can affect the final product strength.


API Calculation Example With Manufacturing Overage

Suppose:

  • Theoretical API quantity = 50 kg
  • Approved process overage = 2%

The overage amount is:

50 × 2 ÷ 100 = 1 kg

Therefore:

Quantity including approved overage = 50 + 1 = 51 kg

This example is only to explain the mathematics.

In an actual batch, the overage should be applied only when it is permitted by the approved formulation, process validation, or other applicable documentation.


API Calculation From BMR or Formula Card

In actual pharmaceutical manufacturing, calculations should not be performed only from memory.

The production person normally checks the approved manufacturing documents.

Depending on the company’s system, these may include:

  • Batch Manufacturing Record
  • Master Formula Record
  • Bill of Materials
  • Approved specification
  • Material test report
  • Certificate of Analysis
  • Dispensing sheet
  • SAP or other electronic manufacturing system

The calculation should match the approved formula.

If there is a difference between the theoretical quantity and the quantity shown in the manufacturing record, it should be resolved through the approved procedure rather than corrected informally.


Common Mistakes in API Quantity Calculation

Several simple mistakes can create problems during dispensing.

1. Forgetting Unit Conversion

A common error is mixing mg, g, and kg.

Remember:

1,000 mg = 1 g

1,000 g = 1 kg

Therefore:

1,000,000 mg = 1 kg


2. Using the Wrong Assay

Do not use an old assay value just because it is available.

The applicable test result and material status should be checked according to the site’s procedure.


3. Ignoring the Assay Basis

An assay reported on an as-is basis is not automatically interchangeable with an assay reported on a dried basis.

This is one of the most important points in API quantity calculation.


4. Applying LOD Correction Without Checking the Formula

Not every API calculation requires an LOD correction.

The approved calculation method should specify whether moisture or LOD needs to be considered.


5. Forgetting Salt Form

If the formulation is based on the active moiety but the warehouse material is a salt, the required conversion needs to be checked.


6. Adding Unapproved Overage

Manufacturing loss does not automatically mean that extra API should be added.

Any overage must have an approved scientific and manufacturing basis.


Quick API Calculation Formula Table

CalculationFormula
Basic API quantityUnits × Strength ÷ 1,000,000
Assay correctionTheoretical quantity × 100 ÷ Assay
Potency correctionTheoretical quantity × 100 ÷ Potency
Salt conversionBase quantity × MW of salt ÷ MW of base
LOD correction*Theoretical × 100 × 100 ÷ [Assay × (100 − LOD)]
Overage*Theoretical quantity × Overage % ÷ 100

*Use these only when applicable to the approved manufacturing calculation.


API Calculation Example for 50,000 Tablets

Let’s put everything together.

Suppose:

  • Batch size = 50,000 tablets
  • Strength = 500 mg/tablet
  • API assay = 98%
  • LOD = 1%

Step 1: Theoretical API

50,000 × 500 ÷ 1,000,000

= 25 kg

Step 2: Assay and LOD adjustment

Using the applicable dried-basis calculation:

25 × 100 × 100 ÷ [98 × (100 − 1)]

= 25 × 10,000 ÷ 9,702

= 25.77 kg approximately

Therefore, the calculated quantity is approximately 25.77 kg on this basis.

Again, this example demonstrates the calculation method. The actual batch quantity must be calculated according to the approved product formula and material specification.


Difference Between Theoretical Quantity and Adjusted Quantity

These two terms are often confused.

Theoretical quantity

This is the amount calculated assuming the API meets the required active content without correction.

For example:

500 mg × 50,000 tablets = 25 kg

Adjusted quantity

This is the quantity calculated after considering an applicable assay, potency, moisture, salt conversion, or other approved factor.

For example, if the assay is below 100%, the weighed amount may be higher than the theoretical amount.

Understanding this difference makes pharmaceutical manufacturing calculations much easier.


How to Check an API Calculation Before Dispensing

Before finalizing the quantity, check the following points:

1. Product strength
Confirm the correct strength of the product.

2. Batch size
Check whether the batch size is in tablets, capsules, litres, or another unit.

3. API name
Make sure the correct material is selected.

4. Assay value
Use the applicable result according to the procedure.

5. Assay basis
Check whether the result is as-is, dried basis, or another basis.

6. LOD/moisture
Confirm whether this value needs to be included.

7. Salt or hydrate form
Check whether a conversion factor is applicable.

8. Approved overage
Use it only when documented and permitted.

9. Unit conversion
Double-check mg, g, and kg.

10. Independent verification
Follow the site’s checking and approval requirements before dispensing.


For additional information on GMP requirements for active pharmaceutical ingredients, refer to the FDA’s Q7 Good Manufacturing Practice Guidance for Active Pharmaceutical Ingredients.

Frequently Asked Questions

What is the basic formula for API calculation?

For a solid dosage form:

API required (kg) = Number of units × API strength (mg) ÷ 1,000,000

This gives the theoretical quantity at 100% active content.

How do you calculate API quantity from assay?

A commonly used assay correction is:

Adjusted quantity = Theoretical quantity × 100 ÷ Assay (%)

The applicable assay basis should be confirmed before using the formula.

Why is API quantity increased when assay is below 100%?

Because the material contains less active ingredient per unit weight. Therefore, more material may be needed to provide the required active content.

How is API calculated with LOD?

When the assay is reported on a dried basis and the approved procedure requires LOD compensation, the moisture/LOD value is included in the calculation.

One commonly used form is:

Quantity = Theoretical × 100 × 100 ÷ [Assay × (100 − LOD)]

Is API calculation the same for tablets and capsules?

The basic principle is the same. The number of units and strength per unit are used to calculate the theoretical API requirement.

Can manufacturing loss always be added to API quantity?

No. An extra quantity should not be added simply because manufacturing loss is expected. Any overage should be scientifically justified and approved.


Conclusion

API calculation becomes much easier when it is broken into a few steps.

First calculate the theoretical API requirement from the product strength and batch size. Then check whether an assay, potency, LOD, moisture, salt conversion, or approved overage needs to be considered.

The most important point is not to use one formula for every situation. The calculation depends on the API specification, assay basis, dosage form, formulation, and approved manufacturing procedure.

For routine production, always verify the final quantity against the current approved manufacturing documents before dispensing.

A good understanding of API quantity calculation, assay correction, LOD compensation, potency calculation, and salt factor calculation helps production and dispensing personnel avoid simple but potentially significant calculation errors.

1 thought on “API Calculation in Pharmaceutical Manufacturing: Formula, Assay Correction, LOD & Examples”

  1. Pingback: Assay Calculation In Pharmaceutical Manufacturing: 7 Easy Steps & Examples

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top