HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
X-ray Diffraction and Crystal Calculations
  1. 1X-ray diffraction and Bragg's law
  2. 2Indexing a powder pattern of a cubic crystal
  3. 3Avogadro's number and mixed structure problems
  1. Chemistry
  2. /X-ray Diffraction and Crystal Calculations
  3. /Avogadro's number and mixed structure problems

Course 32.3·Lesson 3 of 3

Avogadro's number and mixed structure problems

X-rays give the size of the cell, and a balance gives the density. Put the two together and you can find Avogadro's number, a molar mass, an ionic radius or the number of defects. We work through these links and meet two structures that matter in modern materials: perovskite and spinel.

about 30 min1 simulation2 practice questions
Lesson 3 of 3Show all lessonsHide
X-ray Diffraction and Crystal Calculations
  1. 1X-ray diffraction and Bragg's law
  2. 2Indexing a powder pattern of a cubic crystal
  3. 3Avogadro's number and mixed structure problems

Try the code and the simulations beside the lesson.

One equation, many uses

The density equation of the first course joins five quantities:

ρ=ZMNAa3\displaystyle \rho = \frac{ZM}{N_A a^3}ρ=NA​a3ZM​

X-ray diffraction gives aaa and the lattice, and so ZZZ. A balance gives ρ\rhoρ. Three uses follow.

Avogadro's number. Sodium chloride has a=564.0 pma = 564.0\ \text{pm}a=564.0 pm from X-rays, Z=4Z = 4Z=4, ρ=2.165 g/cm3\rho = 2.165\ \text{g/cm}^3ρ=2.165 g/cm3 and M=58.44 g/molM = 58.44\ \text{g/mol}M=58.44 g/mol. We want NAN_ANA​, so

NA=ZMρa3\displaystyle N_A = \frac{ZM}{\rho a^3}NA​=ρa3ZM​
ρa3=2.165 g/cm3×1.7941×10−22 cm3=3.884×10−22 g\displaystyle \rho a^3 = 2.165\ \text{g/cm}^3 \times 1.7941 \times 10^{-22}\ \text{cm}^3 = 3.884 \times 10^{-22}\ \text{g}ρa3=2.165 g/cm3×1.7941×10−22 cm3=3.884×10−22 g
NA=233.76 g/mol3.884×10−22 g=6.02×1023 mol−1\displaystyle N_A = \frac{233.76\ \text{g/mol}}{3.884 \times 10^{-22}\ \text{g}} = 6.02 \times 10^{23}\ \text{mol}^{-1}NA​=3.884×10−22 g233.76 g/mol​=6.02×1023 mol−1

This was one of the first good measurements of Avogadro's number. Today's best value comes from a silicon sphere in the same way, and since 2019 the value 6.022 140 76×1023 mol−16.022\,140\,76 \times 10^{23}\ \text{mol}^{-1}6.02214076×1023 mol−1 is fixed exactly by definition.

Molar mass. For an unknown element, M=ρNAa3ZM = \dfrac{\rho N_A a^3}{Z}M=ZρNA​a3​. The result picks the element out of a short list.

Defects. If the measured density is below the X-ray density, some sites are empty. The ratio of the two gives the fraction of empty sites, as in the Schottky problem of the second course.

Ionic radii from X-rays

X-rays give the distance between ion centres, r++r−r_+ + r_-r+​+r−​, not each radius. How do we split it? In 1920 Alfred Landé looked at a rock salt crystal with a tiny cation, such as lithium iodide. There the anions touch each other along the face diagonal, so 2 a=4r−\sqrt{2}\,a = 4r_-2​a=4r−​. That gives r−r_-r−​ alone. Then any other salt of the same anion gives the cation radius by subtraction. Later chemists refined the values with many crystals, and the modern tables are those of Shannon.

Perovskite

Perovskite is the mineral CaTiO3\text{CaTiO}_3CaTiO3​, and the name is used for every compound ABX3\text{ABX}_3ABX3​ with its structure. In the cubic cell:

  • the large A ion (Ca2+\text{Ca}^{2+}Ca2+) sits at the corners: 8×18=18 \times \tfrac18 = 18×81​=1;
  • the small B ion (Ti4+\text{Ti}^{4+}Ti4+) sits at the body centre: 111;
  • the X ions (O2−\text{O}^{2-}O2−) sit at the face centres: 6×12=36 \times \tfrac12 = 36×21​=3.
The cubic unit cell of perovskite, CaTiO3, in perspective. Large orange calcium ions sit at the 8 corners. A small blue titanium ion sits at the body centre. Red oxide ions sit at the centres of the 6 faces, so they form an octahedron around the titanium ion. Labels give Ca at the corners (1 per cell), Ti at the centre (1 per cell), and O at the face centres (3 per cell).

The titanium ion has 6 oxide neighbours, at the face centres, at a distance a/2a/2a/2. The calcium ion has 12 oxide neighbours, at the face centres of the 8 cells around a corner, at a distance a/2a/\sqrt{2}a/2​. Barium titanate, BaTiO3\text{BaTiO}_3BaTiO3​, is a perovskite used in capacitors. Lead halide perovskites are new materials for solar cells.

The same structure can be drawn with B at the corners, A at the body centre and X at the edge centres. Count it: 1+1+12×14=31 + 1 + 12 \times \tfrac14 = 31+1+12×41​=3 X. The formula is the same.

Spinel

Spinel is MgAl2O4\text{MgAl}_2\text{O}_4MgAl2​O4​, and the name covers every AB2O4\text{AB}_2\text{O}_4AB2​O4​ with its structure. The oxide ions are in ccp. A ions fill one eighth of the tetrahedral voids, and B ions fill one half of the octahedral voids. In an inverse spinel, half the B ions take the tetrahedral sites and the A ions move to octahedral ones. Magnetite, Fe3O4\text{Fe}_3\text{O}_4Fe3​O4​, is an inverse spinel, which explains its ferrimagnetism.

How well do ionic crystals pack?

A metal packs equal spheres, at best 74.0%74.0\%74.0%. Two sizes of ion can do better. In rock salt, the share of space filled depends on the radius ratio. With r−=1r_- = 1r−​=1, the edge is 2(r++1)2(r_+ + 1)2(r+​+1), or 222\sqrt{2}22​ when the anions touch. The filled share is 4⋅43π(r+3+1)a3\dfrac{4 \cdot \tfrac43\pi(r_+^3 + 1)}{a^3}a34⋅34​π(r+3​+1)​. It is largest, 79.3%79.3\%79.3%, at the ratio 0.4140.4140.414, where both contacts hold at once.

Start at 0.560.560.56, about NaCl\text{NaCl}NaCl. Move to 0.4140.4140.414 and then to 0.20.20.2. Below 0.4140.4140.414 the cations rattle, and the extra space is wasted.

Practise with new numbers

Try it in Python

The program finds Avogadro's number from the data of several crystals, and then the molar mass of an unknown metal from its cell.

Read it first. Run it. How close does each crystal come to 6.022×1023 mol−16.022 \times 10^{23}\ \text{mol}^{-1}6.022×1023 mol−1?

1. Give copper Z=2Z = 2Z=2 by mistake. How far off is the result? This is how a wrong lattice shows itself.

2. The unknown metal is bcc, not fcc. Change Z and find its molar mass. Which element could it be now?

Common mistakes

  • Using the formula mass of one ion. MMM is the molar mass of one formula unit, NaCl\text{NaCl}NaCl, not of Na+\text{Na}^+Na+ alone.
  • Forgetting that ZZZ comes from the lattice. A wrong lattice gives an answer off by 2 or 4 times.
  • Splitting r++r−r_+ + r_-r+​+r−​ in half. The two ions have different radii. You need an extra fact, such as anions that touch.
  • Counting perovskite oxygen as 6. The 6 face oxygens are each shared by 2 cells, so 3.
  • Thinking ionic crystals pack worse than metals. Two sizes can fill more space, up to 79.3%79.3\%79.3% in rock salt.

Remember these

  • ρ=ZMNAa3\rho = \dfrac{ZM}{N_A a^3}ρ=NA​a3ZM​ gives NAN_ANA​, MMM or the share of empty sites.
  • Landé: when anions touch in rock salt, 2 a=4r−\sqrt{2}\,a = 4r_-2​a=4r−​.
  • Perovskite ABX3\text{ABX}_3ABX3​: A at corners (12 neighbours), B at body centre (6 neighbours), X at face centres.
  • Spinel AB2O4\text{AB}_2\text{O}_4AB2​O4​: A in 18\tfrac1881​ of tetrahedral voids, B in 12\tfrac1221​ of octahedral voids. Magnetite is inverse.
  • Rock salt fills most space, 79.3%79.3\%79.3%, at a radius ratio of 0.4140.4140.414.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Copper is fcc with a=361.5 pma = 361.5\ \text{pm}a=361.5 pm and ρ=8.96 g/cm3\rho = 8.96\ \text{g/cm}^3ρ=8.96 g/cm3. Find its molar mass with NA=6.022×1023 mol−1N_A = 6.022 \times 10^{23}\ \text{mol}^{-1}NA​=6.022×1023 mol−1.
  1. In perovskite, how many oxide ions surround the titanium ion, and how many surround the calcium ion?
  1. In lithium chloride the anions touch. The cell edge is 513.0 pm513.0\ \text{pm}513.0 pm. Find the radius of the chloride ion.
  1. A metal has a measured density 0.5%0.5\%0.5% below the density from its X-ray data. What fraction of its sites is empty?
  1. Why does rock salt fill less space at a radius ratio of 0.60.60.6 than at 0.4140.4140.414?

References

  • OpenStax, Chemistry 2e, Chapter 10, section 10.6.
  • West, Basic Solid State Chemistry, the chapters on crystal structures (perovskite and spinel) and ionic radii. The 2019 value of NAN_ANA​ is from the SI Brochure, 9th edition.

Enroll free in X-ray Diffraction and Crystal Calculations

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

A soft, silvery rare-earth metal is known to be bcc…Advanced · High School (11–12) · by StemPy Lab
Strontium titanate, SrTiO₃, has the cubic perovskite structure with a = 390.5 pm…Hard · High School (11–12) · by StemPy Lab
A crystal of iron(II) oxide has the rock salt structure, but it is short of iron…Advanced · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← X-ray Diffraction and Crystal Calculations
← Indexing a powder pattern of a cubic crystalNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Lithium chloride and sodium chloride both have the rock salt structure…Advanced · High School (11–12) · by StemPy Lab

Question Sets (1)

Diffraction and Crystal Data: Think It Through10 questions · by StemPy Lab

Notes (1)

X-ray Diffraction and Crystal Calculations: Quick RevisionNote · by StemPy Lab