Alloy Composition Interactive Calculator

← Back to Engineering Library

Weigh out 50 g of aluminum and 50 g of copper. Each accounts for half of the mass, yet about seven of every ten atoms in the mixture are aluminum. Change either mass in the diagram to compare the two percentage scales.

📐 Browse all 1000+ Interactive Calculators

Compare an alloy by mass and by atom count

Weigh out two equal portions of aluminum and copper. Which one contributes more atoms? Change a mass to see how both percentages move.

Al · 26.982 g/mol
Cu · 63.546 g/mol

Two views of the same sample

100 g total · 2.640 mol of atoms

Share of the mass
Share of the atoms
Element Moles Mass % Atom %
Al 1.853 50.0% 70.2%
Cu 0.787 50.0% 29.8%

A mole of aluminum weighs less than a mole of copper. The same 50 g therefore contains more aluminum atoms.

In 100 representative atoms, about 70 are Al and 30 are Cu. Dots are grouped by element for counting.

How to use the calculator

  1. Choose weight percent, element mass, atomic percent, density, normalization or atomic-to-weight conversion.
  2. Enter the elemental masses or percentages. In weight-percent mode, enter the full sample mass if some material is unaccounted for. Otherwise the listed masses supply the total.
  3. For atomic conversions, supply each present element’s molar mass in g/mol. For the density estimate, enter the constituent densities in g/cm³ and a full set of weight percentages.
  4. Select Calculate and read the units. Weight percent measures mass share. Atomic percent measures the fraction of atoms.

Alloy Composition Interactive Calculator

Engineering calculation notice

This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.

Questions about this calculator or found an error? Message our engineering team.

Composition Equations

Use the formula below to calculate weight percentage of each element in an alloy.

Weight Percentage

wt%i = (mi / mtotal) × 100

Where:
wt%i = weight percentage of element i (%)
mi = mass of element i (g or kg)
mtotal = total mass of all elements in the alloy (g or kg)

Use the formula below to calculate atomic percentage from element masses and molar masses.

Atomic Percentage

at%i = (ni / ntotal) × 100 = [(mi/Mi) / Σ(mj/Mj)] × 100

Where:
at%i = atomic percentage of element i (%)
ni = number of moles of element i (mol)
ntotal = total number of moles of all elements (mol)
mi = mass of element i (g)
Mi = molar mass of element i (g/mol)
Σ = summation over all elements j

Use the formula below to calculate alloy density from weight fractions and pure element densities.

Alloy Density (Rule of Mixtures)

ρalloy = 1 / Σ(wi/ρi)

Where:
ρalloy = density of the alloy (g/cm³ or kg/m³)
wi = weight fraction of element i (dimensionless, 0 to 1)
ρi = density of pure element i (g/cm³ or kg/m³)
Σ = summation over all constituent elements

Use the formula below to calculate weight percentage from atomic percentage and molar masses.

Atomic to Weight Conversion

wt%i = (at%i × Mi) / Σ(at%j × Mj) × 100

Where:
wt%i = weight percentage of element i (%)
at%i = atomic percentage of element i (%)
Mi = molar mass of element i (g/mol)
Σ = summation over all elements j in the alloy

Worked examples and sample balance

Equal masses of aluminum and copper

For the 100 g mixture in the diagram, aluminum contributes 50/26.982 = 1.8531 mol, and copper contributes 50/63.546 = 0.7868 mol. Dividing by their combined 2.6399 mol gives 70.19 at% Al and 29.81 at% Cu. On the mass scale, each remains 50 wt%. Doubling both masses doubles the number of moles while leaving the percentages unchanged.

The examples use CIAAW’s abridged standard atomic weights to obtain elemental molar masses in g/mol. Counting moles gives the same proportions as counting atoms because each mole contains the same number of atoms. See the IUPAC definition of amount fraction.

When the listed masses leave a gap

Suppose a 100 g sample contains 70 g of measured iron and 20 g of measured nickel. Using the full sample mass gives 70 wt% iron and 20 wt% nickel, with 10 g unassigned. If the question is about the measured portion alone, the same two masses give 77.78% iron and 22.22% nickel on a 90 g basis. The original sample still has 10 g unaccounted for. Its full atomic composition requires the identity and quantity of the remaining constituents.

Reading a composition report

Check the basis printed on a phase diagram or assay before comparing values. An axis marked at% gives atom shares, while a purchase specification can list weight percentages. For a grade such as 316L, compare the measured chemistry with the applicable product specification, including required minor elements. A three-element example cannot establish grade compliance.

For a density estimate, imagine weighing out a 100 g sample. With 70 g, 20 g and 10 g of constituents at densities of 7.87, 8.90 and 7.19 g/cm³, the sum of their volumes is about 12.53 cm³. Dividing the total mass by that volume gives about 7.98 g/cm³. This assumes the component volumes add and the sample contains no pores. Alloying, temperature and processing can change the measured value.

Frequently Asked Questions

▼ Why do weight percentage and atomic percentage give different values for the same alloy?
▼ How accurate is the rule of mixtures for calculating alloy density?
▼ What should I do when analytical measurements don't sum to 100%?
▼ How do I convert between different composition units (ppm, wt%, at%)?
▼ Can I calculate alloy properties directly from composition?
▼ How do I account for trace elements and impurities in composition calculations?

Free Engineering Calculators

Explore our complete library of free engineering and physics calculators.

Browse All Calculators →

About the Author

Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations

Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.

Wikipedia · Full Bio

📹 Video Walkthrough — How to Use This Calculator

📹 Video Walkthrough — How to Use This Calculator

Alloy Composition Interactive Calculator
Share This Article
Tags