Calculator: Chocolate cocoa blend

Blend two chocolates to reach an intermediate cocoa percentage.

Mass A (g)
500
Mass B (g)
500

How the calculation works

mA=M(T−B)/(A−B); mB=M−mA

Blend two chocolates to reach an intermediate cocoa percentage. The target must lie between their percentages; the model does not predict texture or tempering.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Worked example: Mass (g): 1000; Cocoa fraction A (%): 80; Cocoa fraction B (%): 40; Target (%): 60. Result: Mass A (g): 500; Mass B (g): 500.

Frequently asked questions

How is the result calculated?

mA=M(T−B)/(A−B); mB=M−mA

What assumptions apply?

Blend two chocolates to reach an intermediate cocoa percentage. The target must lie between their percentages; the model does not predict texture or tempering.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Can I check a worked example?

Worked example: Mass (g): 1000; Cocoa fraction A (%): 80; Cocoa fraction B (%): 40; Target (%): 60. Result: Mass A (g): 500; Mass B (g): 500.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Mass (g) = 1000
Cocoa fraction A (%) = 70
Cocoa fraction B (%) = 35
Target (%) = 55
Mass A (g): 571.4285714
Mass B (g): 428.5714286
2
Mass (g) = 500
Cocoa fraction A (%) = 85
Cocoa fraction B (%) = 54
Target (%) = 64
Mass A (g): 161.2903226
Mass B (g): 338.7096774
3
Mass (g) = 300
Cocoa fraction A (%) = 100
Cocoa fraction B (%) = 70
Target (%) = 80
Mass A (g): 100
Mass B (g): 200

How we test our calculators →

Also try:

Back to category →