What is RMSD, and what counts as a good value
How the number is calculated and when to trust it
Matic Broz, PhD17 min

What is RMSD?
RMSD (root-mean-square deviation) measures the average distance between matched atoms of two structures, usually in ångströms (Å). An RMSD of 0 Å means the matched coordinates are identical, and larger values mean the structures differ more. It is the standard number for comparing protein models, tracking a molecular dynamics simulation, and judging docked ligand poses.
The same pair of structures can produce very different numbers. Comparing the ubiquitin crystal structure 1UBQ with an NMR model of the same protein (1D3Z) gives 115.06 Å without superposition, 0.52 Å over all 76 Cα atoms after fitting, and 1.35 Å over all heavy atoms.[1][2] In docking, a reversed imatinib pose sits 13.39 Å from the crystal ligand, yet AutoDock Vina's lower-bound RMSD prints 1.79 Å.
An RMSD value only means something once you know four things: which atoms were paired, whether the structures were superimposed first, how symmetric atoms were handled, and how large the molecule is. You can compute fitted and unfitted values on your own structures with the RMSD Calculator.
The RMSD formula
For N pairs of matched atoms, where dᵢ is the Euclidean distance between the two positions of atom i:
The calculation takes three steps. Square each distance, take the mean of the squares, and take the square root so the unit stays a length. Most structural biology programs report ångströms (Å), while GROMACS reports nanometers (0.1 nm = 1 Å).
A worked example
Take four matched atoms whose positions differ by 0.5 Å, 0.5 Å, 1.0 Å and 3.0 Å:
The plain average of those four distances is 1.25 Å. RMSD comes out higher because squaring gives the largest deviation the most weight: the single atom at 3.0 Å contributes 9 of the 10.5 in the sum. Drop that atom and the RMSD of the other three falls to 0.71 Å.
Some programs also compute a mass-weighted RMSD, multiplying each squared distance by atomic mass before averaging. With equal weights, which is the convention for Cα and backbone comparisons, the formula reduces to the one above.
Fitted and unfitted RMSD
Two structure files rarely share a coordinate frame. A crystal structure and an NMR structure of the same protein can sit far apart in space, so their raw distances reflect file placement rather than shape. Most protein comparisons therefore superimpose protein structures first, choosing the rotation and translation that minimize RMSD.
The Kabsch algorithm solves that optimal rotation directly from the matched coordinates.[3] Structure comparison tools restrict it to a proper rotation, so a chain cannot be fitted onto its mirror image.
Ubiquitin shows how large the gap can be. The crystal structure 1UBQ and model 1 of the NMR ensemble 1D3Z describe the same 76-residue protein.[1][2] Measured as deposited, without superposition, their Cα RMSD is 115.06 Å. After a Kabsch superposition it drops to 0.52 Å.
Superposition is not always wanted. When you score a docked ligand, the receptor defines the frame and the question is where the ligand sits inside it, so you never fit the ligand onto the reference ligand. Across two receptor structures, superimpose the binding sites first, then measure the ligands without moving them again.
Cα, backbone, all-atom and heavy-atom RMSD
The atoms you include can change the number by more than the structural difference you care about. Cα RMSD uses one atom per residue and tracks the fold of the chain, while backbone RMSD adds the N, C and O atoms of each residue. All-atom RMSD adds side chains, which move more than the backbone, and heavy-atom RMSD drops hydrogens so files with and without hydrogens stay comparable.
| Atoms compared | Atoms | RMSD |
|---|---|---|
| Cα, without superposition | 76 | 115.06 Å |
| Cα, residues 1 to 70 | 70 | 0.36 Å |
| Cα, all residues | 76 | 0.52 Å |
| Backbone (N, Cα, C, O) | 304 | 0.60 Å |
| All heavy atoms | 602 | 1.35 Å |
| All heavy atoms, symmetric side-chain atoms matched | 602 | 1.29 Å |
The heavy-atom RMSD is more than twice the Cα RMSD for the same pair because surface side chains adopt different rotamers in a crystal and in solution.
The last row also shows a naming catch: the paired ring carbons of Phe and Tyr, the carboxylate oxygens of Asp and Glu, and the terminal nitrogens of Arg are chemically equivalent but carry distinct atom labels. Matching each pair whichever way fits best lowers the heavy-atom RMSD from 1.35 to 1.29 Å.
The analysis script and structures reproduce every value in this guide, and the Vina redocking results and ubiquitin model comparisons are available as CSV. The RMSD Calculator returns the same 0.52 Å for this pair under its default Cα settings.
RMSD in molecular docking
For small-molecule docking, RMSD is measured over the ligand's heavy atoms in the frame of the receptor against an experimental pose. The AutoDock Vina paper notes that 2 Å is widely used as the cutoff for a correctly predicted bound structure.[4] The PoseBusters authors use the same default and describe it as arbitrary but standard for ligands of ordinary size.[5]
A redocking example
In a redocking test, we docked imatinib built from its SMILES string back into the c-Abl kinase domain of PDB entry 1IEP with the crystal ligand removed, using the public AutoDock Vina example on ProteinIQ.[6] Because the receptor keeps its crystal coordinates, every pose can be measured directly against the crystal imatinib.
| Rank | Score (kcal/mol) | RMSD to crystal | Ligand-fitted RMSD | Vina rmsd/ub | Vina rmsd/lb |
|---|---|---|---|---|---|
| 1 | −12.51 | 0.94 Å | 0.70 Å | 0.00 Å | 0.00 Å |
| 2 | −11.29 | 1.43 Å | 1.33 Å | 2.10 Å | 1.41 Å |
| 3 | −10.49 | 12.24 Å | 1.95 Å | 12.42 Å | 2.88 Å |
| 4 | −10.29 | 13.39 Å | 1.79 Å | 13.53 Å | 1.79 Å |
| 5 | −9.78 | 12.54 Å | 2.44 Å | 12.65 Å | 2.28 Å |
The top pose sits 0.94 Å from the crystal ligand, and the second sits 1.43 Å away, so both pass the 2 Å rule. Poses 3 to 5 are 12.2 to 13.4 Å off. They occupy the same pocket reversed end to end, putting the methylpiperazine where the crystal pose places its pyridine.
Fitting the ligand onto the crystal ligand before measuring hides that reversal. Superposition removes position and orientation, leaving only internal shape, so the reversed poses drop to 1.79 to 2.44 Å.
Vina rmsd/ub versus rmsd/lb
AutoDock Vina prints two RMSD columns in its output table, rmsd l.b. (lower bound) and rmsd u.b. (upper bound), both measured against Vina's own top-ranked pose rather than any crystal structure.[4] That is why rank 1 always reads 0.00 Å in both columns even when it sits 0.94 Å from the experimental pose.
The two bounds differ in how they pair atoms.[4] rmsd/ub pairs every heavy atom strictly with itself by atom index, ignoring symmetry. rmsd/lb pairs each atom with the nearest atom of the same element in the other pose, taking the larger of the two directions so it cannot exceed the true symmetry-corrected RMSD.
Figure 1 shows which column to read. On reversed poses 3 to 5, rmsd/lb falls to 1.79 to 2.88 Å because carbons and nitrogens of the flipped molecule still overlap the pocket volume, whereas rmsd/ub stays at 12.42 to 13.53 Å and flags the reversal. On rank 2, a symmetric ring flip pushes rmsd/ub up to 2.10 Å while rmsd/lb (1.41 Å) stays close to the true crystal RMSD (1.43 Å).
Use rmsd/ub to tell genuinely different binding orientations apart inside a Vina run, and remember that a small bump in rmsd/ub can come from a flipped symmetric ring. Neither column tells you whether a pose is accurate; for that, compare the pose against an experimental ligand in the receptor frame.
How close two crystal structures are
Experimental agreement sets a floor for ligand RMSD. PDB entries 1IEP and 2HYY hold six independent copies of imatinib bound to Abl: two in 1IEP (mouse Abl, 2.1 Å resolution) and four in 2HYY (human Abl, 2.4 Å).[6][7]
After superimposing the binding-site Cα atoms of each pair, the six crystal ligands differ by 0.19 to 0.34 Å over their 37 heavy atoms. A docked pose at 0.94 Å is three to five times further from the crystal pose than independent experiments are from each other, which is still well inside the 2 Å cutoff.
Symmetry-corrected RMSD
Imatinib has two rings that look identical after a 180° flip: the para-substituted benzene of the benzamide and the piperazine. That creates four equivalent ways to number its atoms. Relabeling one crystal copy without moving a single atom produces an RMSD of 0.83 Å for the benzamide flip alone and 1.17 Å with both rings flipped; for rank 1 in Table 2, the RMSD ranges from 0.94 Å under the best numbering to 1.36 Å under the worst.
A symmetry-corrected RMSD tests every equivalent numbering and keeps the lowest value. Adding symmetry correction to DOCK raised docking success rates by about 5% across 1,043 complexes, and by up to 16.7% for some protein families.[8]
The matching algorithm matters too. Meli and Biggin showed that Hungarian assignment can pair atoms across unrelated parts of a molecule and report 1.00 Å for a pose whose graph-isomorphism RMSD is 2.46 Å; their spyrmsd tool uses molecular graph isomorphisms instead.[9] PoseBusters reports symmetry-aware heavy-atom RMSD, whereas the RMSD Calculator pairs atoms by chain, residue and atom name without symmetry correction.
RMSD alone does not make a pose correct
A pose within 2 Å can still be chemically impossible. On the Astex Diverse set, 72% of DiffDock's top poses landed within 2 Å, but only 47% were both within 2 Å and physically valid, with sensible bond lengths, stereochemistry and no clashes; AutoDock Vina moved from 58% to 56%.[5] Check physical validity alongside RMSD with PoseBusters, and for protein complexes use DockQ, which combines interface RMSD, ligand RMSD and native contacts.
What is a good RMSD value?
No single threshold works across every task because each comparison has its own scale. Table 3 brings together the measured values from our examples and published benchmarks.
| Comparison | Atoms | Typical RMSD |
|---|---|---|
| Same ligand in independent crystal structures (imatinib in Abl) | Ligand heavy atoms | 0.19 to 0.34 Å |
| Docked ligand counted as a correct pose | Ligand heavy atoms | 2 Å or less |
| Same protein, crystal vs NMR models (ubiquitin) | Cα | 0.47 to 1.55 Å |
| Models within one NMR ensemble (ubiquitin, 1D3Z) | Cα | 0.23 to 2.07 Å, mean 1.16 Å |
| Homologs with 50% sequence identity | Main chain of the shared core | About 1.0 Å |
| Homologs with 20% sequence identity | Main chain of the shared core | About 1.8 Å |
| AlphaFold2 models in CASP14, median | Cα over 95% of residues | 0.96 Å |
| Designed protein refolded by a structure predictor, counted as a success | Backbone | 2 Å or less |
Two cautions apply to every protein row. Chothia and Lesk measured homologs only over the conserved core, which can cover less than half of each chain near 20% identity.[10] AlphaFold2's 0.96 Å is r.m.s.d.95, which drops the worst 5% of residues before averaging.[11] Both read lower than a full-chain RMSD would.
For a protein alignment, a Cα RMSD below 1 Å over most of the chain matches the agreement of repeated experiments. Values between 1 and 2 Å are normal for close homologs, accurate structure predictions and flexible proteins. Above 2 to 3 Å, inspect where the deviation sits before judging the whole fold, because one moving loop, tail or domain can drive the entire number.
Why RMSD depends on protein size and outliers
Squaring distances lets a short flexible segment dominate the total. In the ubiquitin pair from Table 1, residues 71 to 76 make up 8% of the chain but supply 48% of the summed squared Cα deviation. That C-terminal tail already showed partial occupancy and high thermal motion in the crystal structure.[1]
Across all ten NMR models of 1D3Z, fitting all 76 Cα atoms gives RMSDs from 0.47 to 1.55 Å against 1UBQ. Leave out those six tail residues and every single model drops into a tight 0.34 to 0.39 Å band (Figure 2).
Chain length shifts the scale too. Unrelated 50-residue folds cannot sit very far apart, while unrelated 500-residue folds can, so the same RMSD means less in a small protein than in a large one. Maiorov and Crippen judged RMSD against the mirror image of one structure (10.71 Å versus 0.52 Å for our ubiquitin pair), while Carugo and Pongor defined RMSD100 to rescale any comparison to a 100-residue reference length.[13][14]
Newer scores remove length and outlier sensitivity directly. TM-score weights each residue between 0 and 1 using a length-dependent distance scale, GDT counts the fraction of residues within fixed distance cutoffs, and lDDT compares internal atom distances without any superposition so domain hinge motions do not inflate it.[15][16][17]
Choosing between TM-score and RMSD comes down to whether two structures are nearly identical or only share a fold: a hinge motion in adenylate kinase pushes RMSD above 7 Å while a TM-score of 0.68 still confirms the same fold. The pLDDT score reported by AlphaFold and ESMFold predicts local lDDT, and Foldseek reports both TM-score and lDDT alongside alignment scores.
RMSD in molecular dynamics trajectories
Every frame of a trajectory contains the same atoms in the same order, so RMSD is the standard plot for tracking structural drift over time. Each frame is superimposed onto a reference, usually the starting or experimental structure, using a stable selection such as the structured-core Cα or backbone atoms. That removes overall translation and tumbling so the RMSD plot reflects internal motion.
A typical RMSD plot rises during relaxation and then fluctuates around a plateau; steady upward drift signals slow conformational change or unfolding, while sudden step jumps point to a loop or domain switch. Still, a flat plateau is easy to over-read: Knapp and colleagues showed randomized RMSD plots to MD practitioners and found no consensus on when equilibration began, with judgments biased by plot framing.[18]
Experimental spread is a better yardstick for plateau height than an arbitrary cutoff. Ubiquitin's NMR models in 1D3Z differ by 1.16 Å on average over Cα atoms, mostly from the C-terminal tail, so a trajectory settling near 1 Å sits inside experimental spread. Lindorff-Larsen and colleagues ran 10 µs ubiquitin simulations across eight force fields and saw a stable native state in all of them, while scoring CLN025 as folded below 1.0 Å and unfolded above 4.0 Å.[19]
Three habits prevent most mistakes on MD plots. Convert units carefully, because GROMACS writes nanometers where 0.2 nm equals 2 Å. Fit on the rigid core and measure flexible loops or ligands separately. Pair the global RMSD curve with RMSF, which gives per-residue fluctuation around the average structure, and an all-against-all RMSD matrix to spot distinct conformational states.
RMSD tools on ProteinIQ
Start by deciding whether your structures already share residue numbering, need sequence-independent alignment, or come from a docking or trajectory run.
- RMSD Calculator: compare a reference with one or more structures sharing chain IDs and residue numbering, returning fitted and unfitted RMSD, matched coverage and per-residue profiles.
- US-align: align structures with different sequences or numbering and report RMSD alongside TM-score over the aligned core.
- pyRMSD: compute all-against-all pairwise RMSD matrices for ensembles such as NMR models or trajectory frames.
- AutoDock Vina: dock small-molecule ligands into a receptor and inspect
rmsd/lbandrmsd/ubacross ranked poses. - PoseBusters: check docked poses against a crystal ligand for symmetry-aware heavy-atom RMSD, geometry and clashes.
- MD Trajectory Analysis: plot backbone or ligand RMSD and RMSF over time from GROMACS or OpenMM trajectories.
Frequently asked questions
Which should you use in AutoDock Vina, rmsd/lb or rmsd/ub?
Use rmsd/ub to tell whether two Vina poses sit in different orientations, because it pairs each atom strictly with itself and catches reversed poses that rmsd/lb can hide (13.53 Å versus 1.79 Å for pose 4 of imatinib in 1IEP). Keep in mind that rmsd/ub rises slightly when a symmetric ring flips 180°, and neither column measures crystal accuracy because both compare poses to Vina's rank 1.[4]
What is a good RMSD value for protein alignment?
A Cα RMSD under 1 Å over most of the chain matches the agreement between independent experiments on the same protein, while 1 to 2 Å is normal for close homologs, accurate predictions and flexible proteins.[10][11] Always read the value alongside the number of aligned residues and check whether one loop or terminus drives the total; for fold similarity across different sizes, use TM-score.[15]
What does an RMSD of 0 mean?
An RMSD of 0 Å means the matched atoms have identical coordinates after the chosen superposition, which in practice happens only when a structure is compared with itself. Independent crystal structures of the same bound ligand do not reach 0 Å; the six copies of imatinib in 1IEP and 2HYY differ by 0.19 to 0.34 Å.[6][7]
Is a lower RMSD always better?
Only when the two comparisons use the same atom selection, residue count and superposition rules. A smaller RMSD from fewer aligned residues, from Cα atoms instead of all heavy atoms, or from fitting a docked ligand onto the reference ligand does not mean the structures are closer.
What is the difference between RMSD and RMSF?
RMSD compares an entire structure against a reference at a single frame or for one pair of models, producing one distance value per frame. RMSF (root-mean-square fluctuation) averages each residue's motion over time relative to its average position, producing one value per residue to show which regions move most.


