What a chromatogram actually records
A reversed-phase HPLC trace plots detector response — almost always UV absorbance at 214 or 220 nanometres, where the peptide bond itself absorbs — against elution time. Sample is injected onto a hydrophobic stationary phase and washed off with an increasing gradient of organic solvent. Compounds leave the column in order of hydrophobicity, and each produces a peak.
Purity is calculated from areas, not heights: the target peak area divided by the total integrated area of all peaks, expressed as a percentage. That definition carries two consequences. Anything that does not absorb at the detection wavelength is invisible to the calculation, and anything excluded from integration — for example a solvent front cut off at the start of the run — does not count against the result.