> For the complete documentation index, see [llms.txt](https://docs.rplpeptides.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rplpeptides.com/docs/glossary/chemical-terms/molecular-formula.md).

# Molecular Formula

## Definition

A molecular formula is a representation of the number and type of atoms in a peptide molecule, written using standard chemical element symbols (e.g., C₈₃H₁₃₂N₂₄O₂₅S₂ for a typical peptide).

## Overview

The molecular formula provides the complete elemental composition of a peptide. It is derived from the amino acid sequence, terminal groups, and any modifications. The formula is used to calculate exact molecular weight and to verify correct synthesis.

## Technical Explanation

**Derivation:** The molecular formula is built by summing the element counts from:

* Each amino acid residue (known from sequence)
* Terminal groups (free NH₂ and COOH, or modified ends)
* Modifications (acetylation adds C₂H₂O)
* Counter-ion (if reporting salt form)

**Example:** For the dipeptide Gly-Gly (H-Gly-Gly-OH):

* Glycine residue: C₂H₃NO (×2)
* Terminal: +H₂O
* Total: C₄H₈N₂O₃

## Importance in Peptide Documentation

The molecular formula is used to:

* Calculate theoretical molecular weight
* Determine elemental composition for combustion analysis
* Support identity confirmation
* Calculate peptide content for assay determination

## Related Terms

* [Molecular Weight](/docs/glossary/chemical-terms/molecular-weight.md)
* [Identifier (CAS)](/docs/glossary/chemical-terms/cas-number.md)
* [Identity](/docs/glossary/analytical-terms/identity.md)

## Frequently Asked Questions

**Q: Does the molecular formula include the counter-ion?** A: It depends. Some documentation reports the formula for the peptide free base, others include the counter-ion (e.g., TFA salt). The COA should specify which form is reported.

**Q: Why does elemental analysis not match the formula exactly?** A: Small deviations are normal due to residual water, trace impurities, and the hygroscopic nature of peptides. Larger deviations may indicate quality issues.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.rplpeptides.com/docs/glossary/chemical-terms/molecular-formula.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
