RMSD calculator icon

RMSD calculator

3.0.0

Calculate RMSD between protein structures with automatic alignment Learn more

Input

Upload files or drag and drop
Upload files or drag and drop

Output

Configure inputs to begin

Set options on the left, then click “Calculate”.

How to calculate protein structure RMSD online

Root-mean-square deviation (RMSD) measures the distance between corresponding atoms in two structures, reported here in ångströms. For equally weighted atoms, it is the square root of the mean squared distance after the selected fit. A lower value means closer agreement for that atom selection; compare coverage and use the same fitting settings before comparing scores between jobs.

Upload or fetch a reference structure and one or more comparison structures, choose the atoms and residue regions to fit and measure, then select Calculate. ProteinIQ matches corresponding coordinates, performs an optimal rigid-body fit, and returns global RMSD, displacement statistics, matched coverage, a residue profile, multi-model summaries, structure overlays, and the transformation applied to each comparison.

For a verified example, fetch 1UBQ as the reference and 1D3Z as the comparison. Keep the default settings:

Text
RMSD atom selection: Alpha carbons (CA)
Alignment atom selection: Same as RMSD selection
Compare by: Structure
RMSD weighting: Uniform
Multi-model structures: First model only
Fit residue numbers: All residues
Measurement residue numbers: All residues
Automatic alignment: On

The current RCSB coordinate files produce:

Text
Reference: 1UBQ
Comparison: 1D3Z:model_1
RMSD: 0.521 Å
Measured atoms: 76
Fit atoms: 76
Reference coverage: 100%
Comparison coverage: 100%

1D3Z contains 10 NMR models, so first-model mode also reports that only model 1 was used. Choose All model pairs to compare every 1D3Z model.

The 0.521 Å result is reproducible for the current RCSB PDBx/mmCIF files and the settings shown above. It compares all 76 matched Cα atoms in 1UBQ with model 1 of 1D3Z; it is not a general threshold for deciding whether two unrelated proteins have the same fold.

Input

InputAccepted formatsLimitMatching role
Reference structure.pdb, .ent, .cif, .mmcif, .pdbxOne file, up to 50 MBFixed coordinate set
Comparison structures.pdb, .ent, .cif, .mmcif, .pdbxPlan limit, up to 50 filesStructures fitted to the reference

PDB IDs can be fetched directly from RCSB. Fetched entries use PDBx/mmCIF, which preserves long chain identifiers and structures that cannot be represented in legacy PDB format.

How atoms are matched

In Structure mode, atoms correspond only when all of these identifiers match:

Text
chain ID + author residue number + insertion code + record identity + atom name

For protein ATOM records, the residue name is not part of the key, so atoms shared by a point mutation can still be compared. For HETATM records, record identity includes the residue name. A ligand atom in LIG therefore cannot collide with a protein atom or an atom from a differently named heterogen at the same author position.

In Chain mode, the calculator first separates the structures into chains and then compares every reference chain with every comparison chain. Chain ID is omitted from the atom key inside each selected pair, which allows chain A to be compared with an otherwise corresponding chain B.

In Mapped chains mode, only explicit pairs such as A:X,B:Y are compared. This avoids the Cartesian set of chain comparisons when the biological correspondence is already known. Use (blank) for an empty chain ID. A mapping to a chain that is absent from a selected model produces a warning for that model pair.

Alternate coordinate locations are not counted twice. The calculator keeps blank shared atoms, chooses one occupancy-preferred alternate conformation per residue, and reports removed duplicate records as a warning. Atom pairs are never discarded as outliers after fitting, so every reported matched atom contributes to the RMSD.

This is an identifier-based RMSD calculator, not a sequence or structural alignment search. If chain IDs, numbering, or sequences differ substantially, use USAlign, which finds a structural correspondence before reporting RMSD and TM-score.

Settings

SettingOptionsDefaultWhat it controls
Atom selectionAlpha carbons, Backbone, All protein atoms, All heavy atoms, All coordinate recordsAlpha carbonsAtoms included in the reported RMSD
Alignment atom selectionSame choices, or Same as RMSD selectionSame as RMSD selectionAtoms used to calculate the fitted rotation and translation
Compare byStructure, Chain, Mapped chainsStructureFull structures, every chain pair, or only explicit chain mappings
Chain mappingsPairs such as A:X,B:YEmptyReference-to-comparison pairs used by Mapped chains mode
RMSD weightingUniform, Atomic massUniformEqual atom contribution or contribution proportional to atomic mass
Multi-model structuresFirst model only, All model pairsFirst model onlyWhether multi-model PDB or mmCIF files contribute one model or every model pair
Fit residue numbersAuthor positions and inclusive ranges, such as 10:50,75,100:120All residuesResidues used to determine the rigid-body transformation
Measurement residue numbersAuthor positions and inclusive ranges, such as 10:50,75,100:120All residuesResidues included in RMSD, displacement statistics, and the residue profile
Automatic alignmentOn, offOnFits the comparison coordinates before measuring RMSD
Return fitted structuresOn, offOnReturns each comparison model with the reported transformation applied

Choosing an atom selection

SelectionIncluded recordsBest use
Alpha carbonsCA atoms from protein ATOM recordsOverall fold and backbone comparison
BackboneN, CA, C, and O from protein ATOM recordsMore detailed main-chain comparison
All protein atomsEvery protein ATOM record, including protein hydrogens when presentSide-chain and full-protein comparison with matching topology
All heavy atomsNon-hydrogen ATOM and HETATM recordsProtein, ligand, cofactor, ion, and modified-residue comparison without hydrogen sensitivity
All coordinate recordsEvery ATOM and HETATM recordIdentically prepared structures, including hydrogens and solvent

All-heavy and all-coordinate modes require matching ligand, solvent, and modified-residue identifiers. A low matched coverage means the reported RMSD describes only the shared subset.

Atomic-mass weighting reads element symbols from the coordinate records. If an element is missing or unsupported, the comparison stops with an error rather than assigning an arbitrary mass. Uniform weighting avoids that dependency and is the conventional choice for Cα and backbone RMSD.

Fit on one selection and measure another

The alignment selection can differ from the RMSD selection. For example, align on alpha carbons and measure all heavy atoms to ask how well the full atomic model agrees after the protein fold is fitted. In that case, the reported RMSD is minimized for the Cα fit selection, not necessarily for the heavier measurement selection.

The two residue fields are independent. For example, fit residues 10:80 to establish a stable domain frame and measure residues 81:120 to quantify movement in a second domain. Both filters use author residue numbers from the coordinate files. Both structures must use the same numbers for each filter; use USAlign when their numbering differs.

Results

Global results

ColumnMeaning
ReferenceReference structure, model, and chain label where applicable
ComparisonComparison structure, model, and chain label
RMSD (Å)Weighted root mean square displacement after the selected fit
Unfitted RMSD (Å)RMSD in the original coordinate frames before fitting
Mean displacement (Å)Arithmetic mean of post-fit matched-atom distances
Median displacement (Å)Median post-fit matched-atom distance
P95 displacement (Å)Linearly interpolated 95th percentile of atom distances
Maximum displacement (Å)Largest matched-atom distance after fitting
Largest-deviation residueResidue with the highest per-residue RMSD
Measured atomsNumber of matched atoms used for RMSD
Fit atomsNumber of matched atoms used to determine the transformation
Reference coverage (%)Percentage of selected reference atoms that were matched
Comparison coverage (%)Percentage of selected comparison atoms that were matched
Unmatched reference atomsSelected atoms found only in the reference
Unmatched comparison atomsSelected atoms found only in the comparison

Automatic alignment requires at least three non-collinear matched fit atoms. The separately fitted transformation can then evaluate one or more matched measurement atoms. A comparison that cannot meet those minima is reported as a warning instead of producing a misleading or geometrically ambiguous value.

Reading RMSD and coverage together

RMSD has meaning only for the atom pairs that were actually measured. Coverage shows how representative that shared set is.

Result patternInterpretation
Low RMSD, high coverageMost selected atoms occupy similar positions after fitting
Low RMSD, low coverageA small shared region agrees; the result does not establish whole-structure similarity
High global RMSD, localized per-residue peaksA loop, terminus, ligand, or moving domain may dominate the global value
High RMSD across many residuesThe selected coordinates differ broadly, or the chosen correspondence and fit region are unsuitable
Unequal reference and comparison coverageOne structure contains selected atoms, residues, chains, or heterogens absent from the other

Comparisons are most defensible when they report the atom selection, fit selection, weighting, matched atom count, and both coverage values alongside RMSD. Values from different selections or different matched subsets are not directly interchangeable.

Per-residue RMSD

The per-residue table applies the same global transformation and then groups squared atom displacements by reference residue. This highlights flexible termini, loops, binding-site changes, and local side-chain differences that may be hidden by one global value.

Per-residue RMSD is not a separate fit for each residue. Every residue is evaluated in the coordinate frame established by the global or chain-level alignment.

The Displacement tab plots these per-residue RMSD values in matched-residue order. Tooltips preserve the author residue label, both chain IDs, both residue names, and the matched atom count. Profiles above 5,000 display points are reduced with ordered minimum and maximum points from each interval; the complete values remain in the per-residue table. The numeric results also include atom-level mean, median, P95, and maximum displacement, so the plot and distribution answer related but distinct questions.

Multi-model summary

The Model summary tab groups all successful model pairs for each structure or chain pair. It reports the minimum, mean, median, maximum, population standard deviation, and the model pair with the lowest RMSD. In first-model mode each group contains one comparison; in all-model mode it provides a compact ensemble summary.

Files

FileContents
Reference and fitted .pdb or .cif structuresReference coordinates and each comparison after the reported rigid-body transform, ready for overlay
rmsd_transformations.jsonRotation matrix, translation in Å, fit and measurement selections, both residue ranges, and weighting for every comparison
run.logCurated run settings, scientific phases, comparison counts, RMSD range, output counts, and warning count
Spreadsheet exportsGlobal, per-residue, or multi-model summary rows as CSV or Excel

The Run log is a concise reproducibility record. It does not include uploaded coordinates, raw exceptions, environment values, storage details, URLs, or infrastructure diagnostics.

The structure viewer opens overlays in displacement coloring. The derived reference file stores 0 in the B-factor field. Fitted comparison files store the matching per-residue RMSD in that field; atoms outside the measured or matched set also store 0. These are visualization annotations in derived files and do not preserve the source B-factor values.

Fitted mmCIF input remains mmCIF. A PDB input is returned as mmCIF when a chain ID cannot fit the one-character legacy PDB field or when a displacement annotation cannot fit the fixed-width PDB B-factor field.

Each run returns at most 100 overlay coordinate files and 100 MB of overlay coordinate content. If that download limit is reached, the complete numerical, per-residue, summary, and transformation results are still returned. Requests are also limited to 1,000 structure, model, or chain comparisons and 250,000 per-residue rows so unusually large combinations fail with an actionable message instead of exhausting the browser.

What is protein structure RMSD?

Protein structure RMSD is a coordinate-distance metric for a defined set of corresponding atoms. After superposition, it summarizes the squared distances between those atom pairs as one value in ångströms. Lower values mean closer agreement for that exact correspondence, selection, and fit, but RMSD does not discover which residues should correspond.

For nnn corresponding atoms with weights wiw_iwi​, ProteinIQ calculates:

RMSD⁡=∑i=1nwi∥xi−(Ryi+t)∥2∑i=1nwi\operatorname{RMSD} = \sqrt{ \frac{ \sum_{i=1}^{n} w_i \left\lVert \mathbf{x}_i - \left(\mathbf{R}\mathbf{y}_i + \mathbf{t}\right) \right\rVert^2 }{ \sum_{i=1}^{n} w_i } }RMSD=∑i=1n​wi​∑i=1n​wi​∥xi​−(Ryi​+t)∥2​​

R\mathbf{R}R is the optimal proper rotation calculated from the matched fit atoms, so mirror images cannot be fitted by reflection. t\mathbf{t}t translates the rotated comparison into the reference coordinate frame. With uniform weighting, every wiw_iwi​ is 1. With atomic-mass weighting, wiw_iwi​ is the mass of the matched element.

The fit minimizes the weighted squared displacement of the selected fit atoms. A separate measurement selection is evaluated after that same transformation, which is why fitting on Cα atoms and measuring heavy atoms can produce a heavy-atom RMSD that is not itself minimal.

There is no universal RMSD threshold for structural similarity. Global RMSD is sensitive to protein size and to a few large deviations, including flexible termini, loops, and domain motion. Matched coverage, per-residue RMSD, and the biological question determine whether the global value is informative.

Which structure comparison tool should I use?

GoalTool
One reference versus several structures with matching identifiersRMSD calculator
Different residue numbering, sequences, or chain layoutsUSAlign
Complete pairwise matrix for a topology-consistent ensemblepyRMSD
Protein complex interface accuracy against a native structureDockQ
RMSD across every frame of a trajectoryMD trajectory analysis

FAQ

Should I use Cα, backbone, or all-atom RMSD?

Use Cα RMSD for overall fold comparison, backbone RMSD for main-chain geometry, and heavy or all-coordinate RMSD only when the structures have closely matching atomic composition. Compare values only when atom selection, fitting, weighting, and coverage are consistent.

Why is matched coverage low?

The structures differ in chain IDs, author residue numbering, insertion codes, missing atoms, or atom names. Chain mode can reveal corresponding chains with different IDs. For broader correspondence problems, use USAlign.

Why did a comparison not produce a row?

The warning panel states the reason. Common causes are an invalid coordinate file, no matching selected atoms, fewer than three matching atoms, or collinear fit atoms that cannot define a unique three-dimensional rotation.

Can this calculate ligand RMSD?

Yes, when the ligand is present in both structures with matching chain, residue, insertion-code, and atom-name identifiers. Choose All heavy atoms and use chain mode when the ligand has its own chain. Symmetry-corrected ligand RMSD is not applied, so chemically equivalent atom permutations require a docking-specific evaluation workflow.

What happens to alternate locations and multiple models?

For alternate locations, one occupancy-preferred residue conformer is selected and duplicate coordinates are removed. Multi-model files use model 1 by default; All model pairs evaluates every reference model against every comparison model.

Should automatic alignment ever be disabled?

Disable it only when coordinates are already in the same reference frame and the absolute displacement is the quantity of interest. Without alignment, rigid translation or rotation contributes directly to RMSD.

Table of contents

Related tools

pyRMSD

pyRMSD

Calculate pairwise RMSD matrices for PDB structure ensembles with pyRMSD, including the condensed matrix and source statistics files.

structure-analysiscomparison+3
DockQ

DockQ

Assess docking model quality by comparing predicted complexes against native references. DockQ v2.1.3 supports protein, nucleic-acid, and supported small-molecule interfaces with native metrics.

structure-analysiscomparison+5
PoseBusters

PoseBusters

PoseBusters validates generated or docked molecular poses with chemically and structurally grounded quality checks for molecular geometry, intermolecular interactions, and optional reference-pose agreement.

structure-analysisquality-validation+5
DSSP

DSSP

Assign protein secondary structure with the source DSSP program and return annotated mmCIF, legacy DSSP, residue geometry, hydrogen-bond statistics, and native files.

structure-analysisprotein+1
MolProbity

MolProbity

Validate protein structure quality with all-atom contact analysis, Ramachandran plots, rotamer assessment, and geometry checks.

structure-analysisquality-validation+4
PDBsum

PDBsum

Generate a downloadable PDBsum structural summary report archive for a single protein structure.

structure-analysisquality-validation+3
Radius of gyration

Radius of gyration

Calculate the radius of gyration (Rg) for protein structures from PDB files. Supports multiple chains and atom selection options.

structure-analysisphysicochemical-properties+2
SASA calculator

SASA calculator

Calculate Solvent Accessible Surface Area (SASA) for protein structures using the Shrake-Rupley algorithm.

structure-analysisprotein+1
AllMetal3D

AllMetal3D

Predict metal and water binding sites in protein structures using 3D convolutional neural networks (AllMetal3D + Water3D).

structure-analysisdeep-learning+3
IPSAE

IPSAE

Scoring function for interprotein interactions in AlphaFold2, AlphaFold3 and Boltz predictions. Calculates ipSAE, ipTM, pDockQ, pDockQ2, and LIS scores to assess protein-protein interface quality.

structure-analysisquality-validation+2