Skip to main content
v2026.11,986 entries · CC-BY 4.0

Peptide Mass Calculator: Formulas, Tables & Code

A complete reference guide to peptide mass calculation: standard amino acid residue mass lookup table, monoisotopic vs average mass formulas, and m/z code.

Written and maintained by CASRAI Editorial Board

Published

On this page

A peptide mass calculator computes the theoretical molecular mass of an amino acid sequence from the chemical formulas of its constituent residues. In analytical biochemistry and mass spectrometry, calculating peptide mass is essential for confirming synthetic peptide identity, matching proteolytic fragments in peptide mass fingerprinting (PMF), setting targeted precursor isolation windows, and verifying post-translational modifications (PTMs).

Because chemical elements exist as natural distributions of stable isotopes, two distinct mass conventions govern peptide calculations: monoisotopic mass (used in high-resolution mass spectrometry) and average molecular weight (used for stoichiometric reagent preparation). Understanding the arithmetic of the peptide bond condensation reaction, isotopic abundances, and ion adducts enables researchers to compute accurate neutral masses and mass-to-charge ratios (m/z) without relying on opaque third-party web forms.

How peptide mass is calculated

A peptide chain is formed through sequential condensation reactions between the α-carboxyl group of one amino acid and the α-amino group of another. Each condensation forms a covalent amide (peptide) bond and expels one water molecule (H2O). Consequently, the mass contributed by each amino acid inside the polypeptide backbone is its residue mass—the free amino acid mass minus H2O.

At the termini of an unmodified linear peptide, two functional groups remain unbonded: a free N-terminus bearing a hydrogen atom (-H) and a free C-terminus bearing a hydroxyl group (-OH). Together, these terminal capping atoms equal one molecule of water. Therefore, the neutral mass of any unmodified linear peptide equals the sum of its individual residue masses plus the mass of one water molecule:

$$M_{text{neutral}} = sum_{i=1}^{n} m_{text{residue}, i} + m_{text{H}_2text{O}}$$

When measuring peptides by electrospray ionization mass spectrometry (ESI-MS), the mass spectrometer detects ionized species rather than neutral molecules. In positive ionization mode, peptides ionize primarily through protonation, adding one or more protons (H+) to basic sites (the N-terminal amine, lysine, arginine, and histidine). In negative mode, deprotonation removes protons, yielding negative adducts.

Monoisotopic mass versus average molecular weight

The distinction between monoisotopic mass and average molecular weight is critical when configuring instruments or calculating yields:

  • Monoisotopic mass: Computed using the exact physical mass of the single most abundant, lightest stable isotope of each constituent element (12C = 12.000000 Da, 1H = 1.007825 Da, 14N = 14.003074 Da, 16O = 15.994915 Da, 31P = 30.973762 Da, 32S = 31.972071 Da). On high-resolution mass spectrometers (such as Orbitrap or Q-TOF platforms), the detector resolves individual isotopic peaks, and the monoisotopic mass corresponds to the first and lightest peak of the isotopic envelope.
  • Average molecular weight (MW): Computed using the IUPAC standard atomic weights, which represent the abundance-weighted terrestrial average of all stable natural isotopes (e.g., carbon ≈ 12.011 Da, hydrogen ≈ 1.008 Da). Average mass is observed on low-resolution instruments where isotopic envelopes coalesce into a single unresolved peak, and it is used when weighing synthetic peptides on an analytical balance to determine molar concentrations in solution.

Amino acid residue mass lookup table

The following reference table lists the 20 standard proteinogenic amino acids, plus the non-canonical amino acids selenocysteine and pyrrolysine. Values are derived from IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW) standards and the ExPASy proteomics baseline. Monoisotopic residue masses are given to five decimal places; average residue masses are rounded to four decimal places.

Amino Acid 3-Letter 1-Letter Residue Formula Monoisotopic Residue (Da) Average Residue (Da) Free Monoisotopic MW (Da)
Alanine Ala A C3H5NO 71.03711 71.0788 89.04767
Arginine Arg R C6H12N4O 156.10111 156.1875 174.11167
Asparagine Asn N C4H6N2O2 114.04293 114.1038 132.05349
Aspartic acid Asp D C4H5NO3 115.02694 115.0886 133.03750
Cysteine Cys C C3H5NOS 103.00919 103.1388 121.01975
Glutamic acid Glu E C5H7NO3 129.04259 129.1155 147.05315
Glutamine Gln Q C5H8N2O2 128.05858 128.1307 146.06914
Glycine Gly G C2H3NO 57.02146 57.0519 75.03202
Histidine His H C6H7N3O 137.05891 137.1411 155.06947
Isoleucine Ile I C6H11NO 113.08406 113.1594 131.09462
Leucine Leu L C6H11NO 113.08406 113.1594 131.09462
Lysine Lys K C6H12N2O 128.09496 128.1741 146.10552
Methionine Met M C5H9NOS 131.04049 131.1926 149.05105
Phenylalanine Phe F C9H9NO 147.06841 147.1766 165.07897
Proline Pro P C5H7NO 97.05276 97.1167 115.06332
Serine Ser S C3H5NO2 87.03203 87.0782 105.04259
Threonine Thr T C4H7NO2 101.04768 101.1051 119.05824
Tryptophan Trp W C11H10N2O 186.07931 186.2132 204.08987
Tyrosine Tyr Y C9H9NO2 163.06333 163.1760 181.07389
Valine Val V C5H9NO 99.06841 99.1326 117.07897
Selenocysteine Sec U C3H5NOSe 150.95364 150.0388 168.96420
Pyrrolysine Pyl O C12H21N3O3 237.14773 237.3018 255.15829

Reference standard: Monoisotopic water addition = 18.01056 Da; Average water addition = 18.01528 Da. Proton physical mass (mp) = 1.007276 Da. Free amino acid masses equal residue mass plus H2O.

Governing mathematical formulas for peptide mass and m/z

To compute masses and mass-to-charge ratios across experimental workflows, apply the following governing equations.

1. Neutral peptide mass

For an unmodified linear peptide containing n residues:

$$M_{text{neutral, mono}} = sum_{i=1}^{n} m_{text{mono, residue}, i} + 18.01056$$

$$M_{text{neutral, avg}} = sum_{i=1}^{n} m_{text{avg, residue}, i} + 18.01528$$

2. Mass-to-charge ratio (m/z) in mass spectrometry

In electrospray ionization (ESI), ions carry an integer net charge z. For positive mode protonated ions ([M + zH]z+), each charge adds one proton (mass mp = 1.007276 Da):

$$left(frac{m}{z}right)_{text{pos}} = frac{M_{text{neutral}} + z cdot 1.007276}{z}$$

For negative mode deprotonated ions ([M − zH]z−), each negative charge represents the loss of one proton:

$$left(frac{m}{z}right)_{text{neg}} = frac{M_{text{neutral}} – z cdot 1.007276}{z}$$

3. Mass accuracy and parts-per-million (ppm) error

In targeted proteomics and protein sequencing by mass spectrometry, mass accuracy compares the experimentally observed m/z (mobs) against the theoretical calculated m/z (mcalc):

$$Delta m_{text{ppm}} = frac{|m_{text{obs}} – m_{text{calc}}|}{m_{text{calc}}} times 10^6$$

Worked calculation examples

The following two worked examples demonstrate manual calculation of neutral masses, charge states, and chemical modifications.

Example 1: Unmodified octapeptide (Angiotensin II)

Angiotensin II is an octapeptide with the sequence DRVYIHPF (Asp-Arg-Val-Tyr-Ile-His-Pro-Phe). Let us calculate its theoretical monoisotopic neutral mass, average molecular weight, and [M + 2H]2+ ion m/z.

  1. Sum monoisotopic residue masses:
    • D (Asp): 115.02694 Da
    • R (Arg): 156.10111 Da
    • V (Val): 99.06841 Da
    • Y (Tyr): 163.06333 Da
    • I (Ile): 113.08406 Da
    • H (His): 137.05891 Da
    • P (Pro): 97.05276 Da
    • F (Phe): 147.06841 Da
    • Total residue monoisotopic mass = 115.02694 + 156.10111 + 99.06841 + 163.06333 + 113.08406 + 137.05891 + 97.05276 + 147.06841 = 1027.52393 Da
  2. Add monoisotopic water mass:
    Mneutral, mono = 1027.52393 + 18.01056 = 1045.53449 Da.
  3. Sum average residue masses:
    115.0886 (D) + 156.1875 (R) + 99.1326 (V) + 163.1760 (Y) + 113.1594 (I) + 137.1411 (H) + 97.1167 (P) + 147.1766 (F) = 1028.1785 Da.
    Add average water mass (18.01528 Da):
    Mneutral, avg = 1028.1785 + 18.01528 = 1046.1938 Da.
  4. Calculate doubly protonated [M + 2H]2+ ion (z = 2):
    m/z = (1045.53449 + 2 × 1.007276) / 2 = (1045.53449 + 2.014552) / 2 = 1047.54904 / 2 = 523.77452 Th.

Example 2: Chemically modified peptide (Alkylated Cys + C-terminal amide)

Consider a synthetic peptide with the sequence ACDEFGR featuring two modifications commonly encountered in proteomics workflows: cysteine alkylated by iodoacetamide (carbamidomethylation, +57.02146 Da) and a C-terminal amide (-OH replaced by -NH2, net shift −0.98402 Da).

  1. Sum unmodified residue monoisotopic masses:
    A (71.03711) + C (103.00919) + D (115.02694) + E (129.04259) + F (147.06841) + G (57.02146) + R (156.10111) = 778.30681 Da.
  2. Add standard water mass and modification deltas:
    • Water (N- and C-terminal caps): +18.01056 Da
    • Carbamidomethylation on Cys (+C2H3NO): +57.02146 Da
    • C-terminal amidation (−OH + NH2): −0.98402 Da
    • Mneutral, mono = 778.30681 + 18.01056 + 57.02146 − 0.98402 = 852.35481 Da.
    • Mneutral, avg = 778.8471 + 18.01528 + 57.0519 − 0.9848 = 852.9295 Da.
  3. Calculate positive ESI m/z values:
    • [M + H]+ (z = 1): (852.35481 + 1.00728) / 1 = 853.36209 Th.
    • [M + 2H]2+ (z = 2): (852.35481 + 2.01455) / 2 = 427.18468 Th.
    • [M + 3H]3+ (z = 3): (852.35481 + 3.02183) / 3 = 285.12555 Th.
  4. Experimental validation: If a high-resolution instrument records the [M + 2H]2+ precursor at m/z 427.18520, the mass measurement error is:
    $$Delta m = frac{|427.18520 – 427.18468|}{427.18468} times 10^6 = frac{0.00052}{427.18468} times 10^6 = 1.22text{ ppm}$$
    This error is well within typical high-resolution instrument specifications (< 5 ppm).

How to calculate peptide mass in Python, R, and Excel

While web-based tools like ProtParam are convenient for individual checks, programmatic calculations prevent repetitive manual data entry and keep sensitive proprietary sequences secure within your local environment.

Python implementation

def calculate_peptide_mass(sequence: str, mass_type: str = "mono") -> float:
    """
    Calculate neutral peptide mass (Da).
    Sequence must contain single-letter standard amino acid codes.
    """
    mono_masses = {
        'A': 71.03711, 'R': 156.10111, 'N': 114.04293, 'D': 115.02694,
        'C': 103.00919, 'E': 129.04259, 'Q': 128.05858, 'G': 57.02146,
        'H': 137.05891, 'I': 113.08406, 'L': 113.08406, 'K': 128.09496,
        'M': 131.04049, 'F': 147.06841, 'P': 97.05276, 'S': 87.03203,
        'T': 101.04768, 'W': 186.07931, 'Y': 163.06333, 'V': 99.06841
    }
    avg_masses = {
        'A': 71.0788, 'R': 156.1875, 'N': 114.1038, 'D': 115.0886,
        'C': 103.1388, 'E': 129.1155, 'Q': 128.1307, 'G': 57.0519,
        'H': 137.1411, 'I': 113.1594, 'L': 113.1594, 'K': 128.1741,
        'M': 131.1926, 'F': 147.1766, 'P': 97.1167, 'S': 87.0782,
        'T': 101.1051, 'W': 186.2132, 'Y': 163.1760, 'V': 99.1326
    }
    
    clean_seq = sequence.strip().upper()
    lookup = mono_masses if mass_type == "mono" else avg_masses
    water_mass = 18.01056 if mass_type == "mono" else 18.01528
    
    return sum(lookup[aa] for aa in clean_seq) + water_mass

def calculate_mz(neutral_mass: float, charge: int = 1, positive_mode: bool = True) -> float:
    """Calculate mass-to-charge ratio (m/z) for protonated/deprotonated ions."""
    proton_mass = 1.007276
    if positive_mode:
        return (neutral_mass + charge * proton_mass) / charge
    else:
        return (neutral_mass - charge * proton_mass) / charge

# Example verification:
# print(calculate_peptide_mass("DRVYIHPF", "mono")) # 1045.53449
# print(calculate_mz(1045.53449, charge=2))          # 523.77452

R implementation

calc_peptide_mass <- function(seq, mass_type = "mono") {
  mono <- c(A=71.03711, R=156.10111, N=114.04293, D=115.02694,
            C=103.00919, E=129.04259, Q=128.05858, G=57.02146,
            H=137.05891, I=113.08406, L=113.08406, K=128.09496,
            M=131.04049, F=147.06841, P=97.05276, S=87.03203,
            T=101.04768, W=186.07931, Y=163.06333, V=99.06841)
  avg <- c(A=71.0788, R=156.1875, N=114.1038, D=115.0886,
           C=103.1388, E=129.1155, Q=128.1307, G=57.0519,
           H=137.1411, I=113.1594, L=113.1594, K=128.1741,
           M=131.1926, F=147.1766, P=97.1167, S=87.0782,
           T=101.1051, W=186.2132, Y=163.1760, V=99.1326)
  
  chars <- strsplit(toupper(trimws(seq)), "")[[1]]
  lookup <- if(mass_type == "mono") mono else avg
  water <- if(mass_type == "mono") 18.01056 else 18.01528
  
  sum(lookup[chars]) + water
}

calc_mz <- function(neutral_mass, charge = 1) {
  (neutral_mass + charge * 1.007276) / charge
}

Excel and Google Sheets formula

To compute peptide masses in a spreadsheet without external macros, construct a two-column residue lookup table in cells $A$2:$B$21 (where column A holds the 1-letter codes and column B holds residue monoisotopic masses). With a target peptide sequence in cell D2, enter this dynamic array formula:

=SUMPRODUCT(XLOOKUP(MID(D2, SEQUENCE(LEN(D2)), 1), $A$2:$A$21, $B$2:$B$21)) + 18.01056

In older spreadsheet versions lacking dynamic array functions, calculate the sum by placing individual residue extractions in adjacent helper columns and applying VLOOKUP to each position.

Post-translational modifications and mass accuracy tolerances

Biological and synthetic peptides frequently carry modifications that shift theoretical mass values. Common modifications include:

  • Phosphorylation (+79.96633 Da mono, +79.9799 Da avg): Addition of HPO3 onto serine, threonine, or tyrosine side chains.
  • Methionine oxidation (+15.99491 Da mono, +15.9994 Da avg): Common sample-handling artifact yielding methionine sulfoxide.
  • N-terminal acetylation (+42.01056 Da mono, +42.0367 Da avg): Addition of C2H2O onto the free N-terminus.
  • Disulfide bond formation (−2.01565 Da mono, −2.0160 Da avg): Oxidation of two cysteine thiol (-SH) groups to form a cystine bridge expels two hydrogen atoms.

When designing enzymatic digests, comparing proteases such as trypsin vs chymotrypsin dictates the resulting fragment mass profile. Protease cleavage leaves the peptide backbone fragments with identical terminal water cap geometry (free N-terminal H and C-terminal OH), allowing standard residue addition formulas to apply directly to each cleavage product.

Frequently asked questions

What is the difference between monoisotopic mass and average mass for peptides?

Monoisotopic mass calculates peptide mass using only the most abundant stable isotope for each chemical element (12C, 1H, 14N, 16O, 32S). It represents the lightest peak in the resolved isotopic cluster and is required for high-resolution mass spectrometry. Average molecular weight uses terrestrial abundance-weighted atomic weights and represents the centroid of an unresolved isotopic cluster, suitable for stoichiometry and solution preparation.

Why do you add 18.01056 Da to the sum of amino acid residue masses?

During ribosomal protein synthesis or solid-phase peptide synthesis, each peptide bond formation eliminates a water molecule (H2O). The mass of an amino acid incorporated into a chain is its dehydrated residue mass. At the ends of a linear peptide, the free N-terminus retains a hydrogen atom (-H) and the free C-terminus retains a hydroxyl group (-OH). Adding 18.01056 Da (the monoisotopic mass of H2O) accounts for these two terminating groups.

How do you calculate the m/z of a peptide ion in positive electrospray ionization?

In positive electrospray ionization, peptide molecules ionize by attaching one or more protons (H+). The mass-to-charge ratio (m/z) is calculated by adding the mass of the added protons (z × 1.007276 Da) to the neutral peptide mass and dividing the entire sum by the integer charge state z: m/z = (Mneutral + z × 1.007276) / z.

Do leucine and isoleucine have different masses?

No. Leucine and isoleucine are structural isomers sharing the exact same elemental composition (C6H11NO for the residue; C6H13NO2 for the free molecule). Their monoisotopic residue mass is identical at 113.08406 Da. Standard mass spectrometry cannot distinguish leucine from isoleucine based on mass alone; differentiation requires specialized techniques such as high-energy collision dissociation with electron-transfer fragmentation, enzyme specificity, or retention time comparison.

Sources

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Peptide Mass Calculator: Formulas, Tables & Code

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →