Start with the finished recipe’s total weight. Count nibs, cocoa liquor, added cocoa butter, and cocoa powder on the cocoa side; count sugar, milk powder, and other ingredients in the total. The simple sugar formula works when sugar is the only non-cocoa ingredient. Milk and other additions require one more subtraction.

What the Percentage Actually Means

The cacao percentage represents the fraction of the bar’s weight that comes from cocoa-derived ingredients. In a 70% bar: 70% of the bar’s weight is cocoa material (nibs, cocoa liquor, cocoa butter, or some combination), and the remaining 30% is everything else (primarily sugar).

In a simple two-ingredient bar (nibs + sugar), the entire 70% comes from the nibs. Cacao percentage is not fat percentage: nibs contain both cocoa butter and non-fat material. For example, if your nibs contain 53% fat, a 70% nib-and-sugar recipe contains approximately 0.53 × 0.70 = 37.1% fat. Use your supplier’s composition data when available; origin alone cannot establish a batch’s fat content.

Replacing some nibs with cocoa butter while holding total cacao percentage constant raises fat and lowers non-fat cocoa material. That can change flow and mouthfeel even though the label still says 70%.

The Core Formula

Two-ingredient chocolate at any percentage:

Sugar weight = (Nib weight / percentage as decimal) - Nib weight

Examples:

Values above are rounded to the nearest gram. Use a percentage greater than zero and no more than 100%; at 100%, the calculated sugar is zero. This formula scales linearly: double the nibs, double the sugar.

For a recipe with milk or other non-cocoa ingredients, let C be total cocoa ingredient weight, O be all non-cocoa ingredients except sugar, and p be the target cacao fraction:

Sugar = C / p - C - O

If this produces a negative result, your selected amounts cannot achieve that target by adding sugar. Change the cocoa or other ingredient amounts. These are formulation calculations for a plain chocolate base; commercial labeling also has prescribed compositional rules.

In the calculator, the nibs slider is the nib percentage. Add the cocoa butter percentage to it to obtain total cacao percentage. Its fat figures are estimates; use ingredient specifications for production calculations.

Why Start at 70%?

Seventy percent is a convenient comparison recipe: 700g nibs and 300g sugar make a 1kg ingredient batch. It is not a scientifically established optimum for every bean or palate. Try a few percentages with the same beans and processing, then taste side by side.

A higher number does not by itself guarantee better chocolate. Valrhona’s own range includes single-origin dark chocolates both below and above 70%. Bitterness, aroma, sweetness, fat, and processing all affect the result. A 100% chocolate has no added sugar in a nib-only formulation; a cocoa percentage above 100% is impossible.

Adding Cocoa Butter

Added cocoa butter counts as cocoa and increases the recipe’s fat content. It generally makes melted chocolate more fluid, but particle size, moisture, and processing also matter. Callebaut explains how cocoa butter content changes fluidity and setting behavior.

A 5g addition to a 1kg starting batch is a small trial, not a guaranteed viscosity correction. Weigh it, mix thoroughly, and compare flow at the same temperature. Adding 5g to an existing 1kg batch produces 1,005g; replacing 5g of nibs with butter keeps the batch at 1kg.

Formula for three-ingredient bar (nibs + cocoa butter + sugar): Total cocoa weight = Nib weight + Cocoa butter weight Sugar = (Total cocoa weight / percentage) - Total cocoa weight

Example: 600g nibs + 50g cocoa butter = 650g total cocoa; at 70%: (650/0.70) - 650 = 279g sugar.

For detailed guidance on cocoa butter addition timing and amounts, see our adding cocoa butter to chocolate article.

Adding Milk Powder

Milk powder adds dairy flavor, lactose, protein, and, with whole-milk powder, milk fat. It does not count toward cacao percentage. Adding it to an existing batch without removing anything lowers the cacao fraction.

The taste depends on powder type and treatment as well as quantity; 5% and 20% are not universal sensory thresholds. A small addition also does not automatically satisfy the legal definition of milk chocolate. The example below contains 20% whole-milk powder. Check its milk-solids and fat specifications if making a product for sale; the relevant minimums are summarized below.

For a complete milk chocolate formulation guide, see our milk chocolate from scratch article.

Adding Lecithin

Lecithin can reduce the viscosity of flowing chocolate. Yield stress—the stress needed to start flow—is a different measurement. Do not assume that both fall together. In a 2024 experiment with 48% cocoa chocolate, increasing lecithin reduced plastic viscosity up to roughly 0.5–0.6%, while yield stress increased across the tested range. The starting formula already contained lecithin and PGPR, so this is not a universal dosing rule for homemade chocolate.

There is no single ideal 0.01–0.05% dose or dependable 10-to-1 replacement for cocoa butter. Follow the ingredient supplier’s guidance and test small weighed additions in your actual recipe, including any lecithin already present. For arithmetic, 0.3% of a 1kg final batch is 3g. Soy lecithin also introduces a soy ingredient that matters for allergen labeling.

The US standards limit total emulsifiers in sweet and milk chocolate to 1%; white chocolate has a different 1.5% limit. These ceilings are not target doses.

For the full science of how fats and emulsifiers affect chocolate, see our adding cocoa butter guide.

Complete Recipe Examples

Basic two-ingredient 70% dark chocolate (1 kg batch):

Three-ingredient 70% dark chocolate, small butter substitution (1 kg batch):

Milk chocolate formulation at 45% cocoa (1 kg batch):

The milk formulation totals 1,000g. Its cocoa ingredients total 400g + 50g = 450g, so it is 45%, not 40%. These are formulation examples, not documented kitchen trials or certified nutrition calculations. Ingredient weights precede refining and handling losses.

For the basic dark batch, use ready-to-eat nibs from a supplier with appropriate pathogen controls, or a validated process for raw beans. A flavor roast or long melanger run is not proof of pathogen destruction; see our bean-to-bar food safety guide. Load and operate the melanger according to its manual, add sugar gradually, and refine until the texture and flavor suit the intended use. Time varies with equipment and batch size. Then temper and mold; a common starting curve for dark chocolate is melting around 50°C, cooling to 27–28°C, and working at 31–32°C, adjusted for the chocolate and temper test.

What to Adjust When Flavor Is Not Right

Percentage affects flavor in two ways: it controls how much sugar moderates the bean’s natural bitterness, and it controls how much total cocoa character is present in each bite.

If your bar tastes too bitter at 70%: consider 68% or 65%. The extra sweetness may make bitterness less prominent, but it does not remove the compounds responsible for astringency.

If your bar tastes too sweet and flat at 70%: consider 72% or 75%. The higher cocoa fraction will bring more of the origin character forward.

If your bar is both bitter and flat: check the beans, fermentation, roast, and refining as well as the sugar balance. The percentage is a flavor modifier, not a flavor creator.

Sugar Selection and Its Effect

The type of sugar also affects flavor. Refined white sugar has a relatively neutral flavor, letting the cocoa character come through. Coconut palm sugar brings a distinct caramel note. Muscovado adds strong molasses character.

The choice of sugar can noticeably change the flavor profile. For detailed guidance, see our best sugar for chocolate making guide.

Regulatory Context

For commercial products, a recipe percentage does not establish compliance with a standard of identity. Consult the complete applicable rules, including permitted ingredients and calculation methods.

Under EU Directive 2000/36/EC, Annex I, the basic categories have these minimums; named variants have additional provisions:

CategoryMain compositional minimums
Chocolate35% total dry cocoa solids, including 18% cocoa butter and 14% dry non-fat cocoa solids
Milk chocolate25% total dry cocoa solids; 2.5% dry non-fat cocoa solids; 14% dry milk solids; 3.5% milk fat; 25% combined cocoa butter and milk fat
White chocolate20% cocoa butter; 14% dry milk solids, including 3.5% milk fat

In US 21 CFR Part 163, sweet chocolate requires at least 15% chocolate liquor; semisweet and bittersweet require 35%. Those are regulatory liquor calculations, not simply added cocoa-butter-plus-nib percentages. Milk chocolate requires 10% liquor under the prescribed calculation, 12% total milk solids, and 3.39% milk fat. The linked US text is the April 2025 edition; check current rules for a commercial label.

JayArr ChocolateField notes

Chocolate Recipe Formulation Reference

01

Two-Ingredient Formula

  • Sugar = (Nib weight / target fraction) - Nib weight
  • 650g nibs at 70%: about 279g sugar
  • 650g nibs at 75%: about 217g sugar
02

Count All Ingredients

  • Cocoa butter counts toward total cacao percentage
  • Milk, sugar, and lecithin count toward total recipe weight
  • 400g nibs + 50g butter in 1,000g = 45% cocoa
03

Adjust Texture

  • Fat percentage and cacao percentage are different
  • Lecithin dosage depends on the actual formulation
  • Compare flow at the same temperature
04

Choose by Taste

  • 70% is a convenient starting formula
  • No universal quality optimum follows from cacao percentage
  • 100% is the maximum possible cocoa fraction
jayarrchocolate.com

Frequently Asked Questions

What does the percentage on a chocolate bar mean?
It is the cocoa-derived share of the recipe, including cocoa butter. A 70% nib-and-sugar bar contains 30% sugar, but in a recipe with milk or other ingredients the remaining 30% is not all sugar. Cacao percentage does not tell you fat percentage.
How do I calculate sugar for chocolate?
For nibs and sugar only: Sugar = Nib weight / target cacao fraction - Nib weight. With 650g nibs at 70%, that is about 279g sugar. If cocoa butter is added, include it in cocoa weight. If milk or other non-cocoa ingredients are added, subtract their weights from the calculated sugar allowance.
What percentage tastes best?
There is no universal best percentage. Seventy percent is a convenient starting comparison; taste several formulations made from the same beans. Processing, fat, and personal preference matter as well as sugar. A cocoa percentage above 100% is impossible.
How much lecithin should I add?
Use the ingredient supplier's guidance and controlled small trials, accounting for lecithin already present. It can reduce flowing viscosity without reducing yield stress. An industrial study does not establish a universal ideal dose for every home recipe.
Does cocoa butter change the cacao percentage?
Yes. It counts as cocoa. Adding it to an existing chocolate increases both cocoa weight and total weight; replacing nibs with an equal weight of butter leaves cacao percentage unchanged but changes fat and non-fat cocoa content.
Is a 35% US minimum just a craft convention?
No. US standards set 35% chocolate liquor for semisweet and bittersweet chocolate using a prescribed calculation. That differs from total cacao percentage, which includes added cocoa butter. Consult the complete standards for commercial labeling.