Crystallography Calculators

Free crystallography calculators: Bragg's law, d-spacing, unit cell volume, structure factor, Williamson-Hall, Debye-Waller, zone axis, and stereographic poles.

🌡️
Debye-Waller Factor Calculator
Calculate the Debye-Waller factor exp(-2M), the B factor and mean-square atomic displacement from thermal motion, either directly or via the Debye model.
🗺️
Electron Density Map Parameter Calculator
Work out map grid spacing, FFT grid dimensions, unique reflection count and map file size from your unit cell, resolution limit and Laue symmetry.
📐
Interplanar Angle Calculator
Find the angle between two crystal planes (hkl) in cubic, tetragonal, orthorhombic, and hexagonal systems, with a table of common-plane angles. Free.
📏
Lattice Strain Calculator
Calculate lattice strain from XRD peak broadening, lattice parameter change, or epitaxial film mismatch. Stokes-Wilson micro-strain with steps. Free.
🪞
Point Group and Space Group Symmetry Identifier
Identify the crystal class of any space group 1 to 230, or look up any of the 32 point groups: Laue class, order, polarity, chirality, piezoelectricity.
📊
Powder Diffraction Pattern Simulator
Simulate a cubic powder XRD pattern. Get allowed hkl reflections, d-spacings, 2-theta peak positions, multiplicities and relative intensities. Free.
🎯
Stereographic Projection Pole Calculator
Project any (hkl) crystal plane onto a stereogram. Get polar angle rho, azimuth phi, projected x-y coordinates and the symmetry-equivalent poles. Free.
📈
Williamson-Hall Plot Parameter Calculator
Fit a Williamson-Hall plot from XRD peak widths to separate crystallite size from microstrain, with slope, intercept, R-squared and a full plot. Free.
🔷
Zone Axis Calculator
Find the zone axis [uvw] from two crystal planes, test the Weiss zone law, and list every plane that belongs to a zone. With full working. Free.
🔗
Coordination Number Identifier
Find the coordination number, atoms per unit cell, and packing factor for simple cubic, BCC, FCC, HCP, and diamond cubic crystal structures. Free.
🔵
Ewald Sphere Geometry Calculator
Compute the Ewald sphere radius k, reciprocal vector magnitude |G|, and check whether a reflection lies within the limiting sphere. Free calculator.
🧭
Reciprocal Lattice Vector Calculator
Compute reciprocal lattice vectors a*, b*, c* and their magnitudes from direct lattice vectors a, b, c using a* = 2pi(b x c)/[a.(b x c)]. Free.
💠
Structure Factor F(hkl) Calculator
Compute the structure factor F(hkl) and intensity |F(hkl)|² for simple cubic, BCC, and FCC bases, with a systematic-absence flag and interactive chart.
✅
Systematic Absence Rule Checker
Check whether an (hkl) reflection is allowed or systematically forbidden for primitive, body-centered, face-centered, or C-centered lattices. Free.
📊
X-ray Diffraction Peak Position Calculator
Predict X-ray diffraction peak positions (2θ) from d-spacing, or directly from a cubic lattice parameter and Miller indices, with a full peak table. Free.
🧊
Atomic Packing Factor Calculator
Calculate atomic packing factor (APF) for simple cubic, body-centered cubic, and face-centered cubic unit cells from atomic radius and lattice parameter.
🔎
Scherrer Equation Crystallite Size Calculator
Calculate crystallite size from X-ray diffraction peak broadening using the Scherrer equation D = K*lambda/(beta*cos(theta)). Free calculator with chart.
⚖️
Unit Cell Density Calculator
Calculate theoretical crystal density from the number of atoms per unit cell, molar mass, and edge length using rho = nM/(Vc x NA). Free calculator tool.
📐
Bragg Law Calculator
Solve nλ = 2d sinθ for the Bragg angle, d-spacing, or wavelength in X-ray and neutron diffraction, with step-by-step working shown. Free calculator.
🧊
d-Spacing from Miller Indices Calculator
Find interplanar d-spacing from Miller indices (h,k,l) for cubic, tetragonal, and orthorhombic crystal systems, with full step-by-step working. Free.
📦
Unit Cell Volume Calculator
Compute a crystal unit cell volume from edge lengths a, b, c and angles α, β, γ using the general triclinic formula for any crystal system. Free tool.

Crystallography Calculators - X-Ray and Neutron Diffraction

Crystallography studies how atoms pack into repeating, periodic lattices, and how that periodic structure diffracts X-rays or neutrons to reveal atomic-scale detail. These calculators cover the foundational relationships behind diffraction analysis and crystal structure determination, Bragg’s law, interplanar d-spacing from Miller indices, and unit cell volume, and extend through the analysis tools built on top of them: peak-broadening methods that separate crystallite size from microstrain, thermal attenuation, full powder pattern simulation, lattice direction geometry, and crystal symmetry classification.

Twenty-One Crystallography Calculators

💠 Bragg Law Calculator nλ = 2d sinθ - solve for the Bragg angle, d-spacing, or wavelength 📐 d-Spacing from Miller Indices Interplanar spacing d from (h,k,l) for cubic, tetragonal, and orthorhombic systems 🔷 Unit Cell Volume Calculator Volume from edge lengths a, b, c and angles α, β, γ - cubic through fully triclinic ⚖️ Unit Cell Density Calculator rho = nM/(Vc x NA) - theoretical crystal density from atoms per cell, molar mass, and edge length 🧊 Atomic Packing Factor Calculator APF = n(4/3)pi*r^3/a^3 - fraction of unit cell volume filled by atoms for SC, BCC, and FCC 🔎 Scherrer Equation Crystallite Size D = K*lambda/(beta*cos theta) - average crystallite size from XRD peak broadening 🔗 Coordination Number Identifier Nearest-neighbor count, atoms per cell, and packing factor for SC, BCC, FCC, HCP, and diamond cubic 💠 Structure Factor F(hkl) Calculator F(hkl) = sum f_j exp[2pi i(hx_j+ky_j+lz_j)] - intensity and systematic absences for SC, BCC, FCC ✅ Systematic Absence Rule Checker Allowed/forbidden reflection rules for P, I, F, and C-centered lattices 🧭 Reciprocal Lattice Vector Calculator a* = 2pi(b x c)/[a.(b x c)] - reciprocal vectors from any direct lattice vectors 🔵 Ewald Sphere Geometry Calculator k = 2pi/lambda - Ewald sphere radius, limiting sphere check, and Bragg angle 📊 X-ray Diffraction Peak Position Calculator Predict 2theta peak positions from a cubic lattice parameter and Miller indices 📈 Williamson-Hall Plot Parameter Calculator Separate crystallite size from microstrain by fitting beta*cos theta against sin theta 📏 Lattice Strain Calculator Strain from peak broadening, lattice parameter shift, or epitaxial film misfit 🌡️ Debye-Waller Factor Calculator Thermal attenuation of diffracted intensity from a known B factor or the Debye model 〽️ Powder Diffraction Pattern Simulator Full peak list with multiplicities and a simulated diffractogram for P, I, F, and diamond lattices 🗺️ Electron Density Map Parameter Calculator Grid spacing, reflection counts, and map file size from resolution and unit cell volume 📐 Interplanar Angle Calculator Angle between two (hkl) planes for cubic, tetragonal, orthorhombic, and hexagonal systems 🧭 Zone Axis Calculator Zone axis from two planes, Weiss zone law checks, and all planes in a given zone 🎯 Stereographic Projection Pole Calculator Pole coordinates on a stereogram with the full set of symmetry-equivalent poles plotted 🔣 Point Group and Space Group Symmetry Identifier Crystal system, Laue class, centrosymmetry, and lattice type from a Hermann-Mauguin symbol

The Bragg Law Calculator solves nλ = 2d sinθ for the Bragg angle, d-spacing, or wavelength, the fundamental condition for constructive interference in X-ray and neutron diffraction. The d-Spacing from Miller Indices Calculator finds the interplanar spacing d from Miller indices (h,k,l) for cubic, tetragonal, and orthorhombic crystal systems, the direct input Bragg’s law needs to predict a diffraction pattern. The Unit Cell Volume Calculator finds the volume of any unit cell, cubic through fully triclinic, from its edge lengths a, b, c and angles α, β, γ using a single general formula that reduces to V = a³ for the cubic case and to the full trigonometric expression for the least symmetric triclinic case. The Unit Cell Density Calculator finds the theoretical density of a crystal (rho = nM/(Vc x NA)) from the number of atoms per unit cell, molar mass, and edge length, verified against real elements like copper, iron, and polonium. The Atomic Packing Factor Calculator finds the fraction of unit cell volume filled by atoms (APF = n(4/3)πr³/a³) for simple cubic, BCC, and FCC structures from atomic radius and lattice parameter. The Scherrer Equation Crystallite Size Calculator finds average crystallite size from X-ray diffraction peak broadening (D = Kλ/(βcosθ)), with an interactive chart of size versus peak broadening. The Coordination Number Identifier identifies the coordination number, atoms per unit cell, and idealized packing factor for simple cubic, BCC, FCC, HCP, and diamond cubic structures. The Structure Factor F(hkl) Calculator computes the full complex structure factor F(hkl) = Σfjexp[2πi(hxj+kyj+lzj)] and diffracted intensity |F(hkl)|² for simple cubic, BCC, and FCC bases, flagging systematic absences automatically. The Systematic Absence Rule Checker applies the shortcut reflection condition rules for primitive, body-centered, face-centered, and C-centered lattices to instantly classify any (hkl) reflection as allowed or forbidden. The Reciprocal Lattice Vector Calculator computes a*, b*, and c* from any set of direct lattice vectors using a* = 2π(b×c)/[a·(b×c)], working for cubic through fully non-orthogonal lattices. The Ewald Sphere Geometry Calculator computes the Ewald sphere radius k = 2π/λ and checks whether a candidate reflection lies within the limiting sphere at a given wavelength. The X-ray Diffraction Peak Position Calculator predicts the diffraction peak position 2θ directly from a cubic lattice parameter and Miller indices, with a full table of predicted peak positions for common reflections.

Beyond those fundamentals, a second group of calculators covers the analysis actually performed on measured diffraction data. The Williamson-Hall Plot Parameter Calculator separates the two causes of peak broadening that the Scherrer equation alone conflates, plotting βcosθ against sinθ so that crystallite size falls out of the intercept and microstrain out of the slope. The Lattice Strain Calculator approaches strain three ways, from peak broadening, from a measured shift in lattice parameter against a reference, and from epitaxial film-substrate misfit with the Poisson contraction perpendicular to the interface. The Debye-Waller Factor Calculator quantifies how thermal vibration attenuates diffracted intensity, either from a known B factor or from the Debye model given a Debye temperature, atomic mass, and sample temperature. The Powder Diffraction Pattern Simulator generates a complete predicted peak list for primitive, body-centered, face-centered, and diamond lattices, applying the correct reflection conditions and multiplicities and merging reflections that share the same h²+k²+l². The Electron Density Map Parameter Calculator handles the practical side of structure solution, converting a target resolution and unit cell volume into grid spacing, expected reflection counts, and map file size.

A third group covers lattice geometry and symmetry. The Interplanar Angle Calculator finds the angle between any two (hkl) planes for cubic, tetragonal, orthorhombic, and hexagonal systems, where the lattice constants cancel in the cubic case but genuinely matter in the others. The Zone Axis Calculator takes the cross product of two plane normals to find their common zone axis, checks the Weiss zone law hu+kv+lw=0, and lists every plane belonging to a given zone. The Stereographic Projection Pole Calculator plots a plane’s pole on a stereogram along with its full set of symmetry-equivalent poles, the standard way crystallographers visualize orientation relationships. The Point Group and Space Group Symmetry Identifier reads a Hermann-Mauguin symbol and returns the crystal system, Laue class, lattice centering, and whether the group is centrosymmetric, which determines whether Friedel’s law holds and anomalous dispersion can resolve absolute structure.

Who Uses These Calculators

Materials science and condensed matter physics students use these tools to work through powder XRD problem sets, converting between diffraction angle, d-spacing, and Miller indices. Crystallographers and X-ray diffraction lab technicians use the Bragg Law Calculator for quick peak-position sanity checks before running full Rietveld refinement software. Solid-state chemistry students use the Unit Cell Volume Calculator to compute theoretical density (mass of unit cell contents divided by unit cell volume) as a standard lab exercise.

Constants Behind Crystallography

Most crystallography calculations reduce to trigonometry and geometry applied to a repeating lattice. The standard X-ray wavelength for laboratory diffractometers is Cu-Kα radiation at λ ≈ 1.5406 Å, and typical interplanar spacings in real crystals (silicon, quartz, common oxides) fall in the 1 to 5 Å range, which is exactly why diffraction angles are measurable with laboratory equipment rather than requiring exotic instrumentation.

Frequently Asked Questions

What is Bragg's law used for?

Bragg's law (nλ = 2d sinθ) is the fundamental condition for constructive interference of X-rays or neutrons scattered by the periodic planes of a crystal lattice. It underlies X-ray diffraction (XRD), neutron diffraction, and every technique used to determine crystal structure from a diffraction pattern. The Bragg Law Calculator solves it for any of the three unknowns.

What are Miller indices?

Miller indices (h,k,l) are a set of three integers that uniquely identify a family of crystal planes and their orientation within the unit cell. Every d-spacing calculation starts from a chosen set of Miller indices, and the relationship between them depends on the crystal system, cubic, tetragonal, orthorhombic, and beyond. The d-Spacing from Miller Indices Calculator covers the three most common cases.

How do I find the unit cell volume of a triclinic crystal?

For the lowest-symmetry triclinic system, where none of the three edge lengths or three angles are equal or 90°, the volume formula is V = abc·√(1 − cos²α − cos²β − cos²γ + 2cosα·cosβ·cosγ). Higher-symmetry systems are special cases of this same formula: it reduces to V = a³ for cubic (a=b=c, α=β=γ=90°) and V = abc for orthorhombic (α=β=γ=90°, a≠b≠c). The Unit Cell Volume Calculator applies the general formula automatically for any crystal system.

What X-ray wavelength should I use in the Bragg law calculator?

Laboratory X-ray diffractometers almost always use copper anode tubes, giving Cu-Kα radiation at λ ≈ 1.5406 Å (the Kα1 line; some instruments report the weighted Kα1/Kα2 average of 1.5418 Å). Other common sources include Mo-Kα (0.7107 Å, used for single-crystal work) and Co-Kα (1.7889 Å, preferred for iron-containing samples to avoid fluorescence). Enter the correct source wavelength into the Bragg Law Calculator to get an accurate d-spacing from a measured 2θ angle.