CpG Methylation Calculator

Calculate CpG observed/expected ratio, methylation percentage, and CpG island identification.

Please check your inputs and try again.

Why CpG Is Depleted from the Genome

CpG dinucleotides occur at roughly a fifth of the expected frequency across mammalian genomes, and the reason is chemical. Methylated cytosine deaminates spontaneously to thymine — a change that produces a normal T:G mismatch which repair machinery often resolves the wrong way.

Unmethylated cytosine deaminates to uracil instead, which is immediately recognised as foreign in DNA and excised. So methylation converts a repairable lesion into a permanent mutation, and over evolutionary time CpG sites have been progressively lost.

O/E = observed CpG / (C count × G count / length)
O/E ratioInterpretation
~0.2Genome average — CpG depleted
> 0.6CpG island — historically unmethylated
> 0.65 with GC > 55%Strict island definition

CpG islands survive precisely because they are not methylated in the germline, so they escape the deamination pressure. Their existence is evidence of their own unmethylated history.

Methylation and Cancer

RegionNormal tissueTypical tumour
Promoter CpG islandsUnmethylatedHypermethylated — tumour suppressors silenced
Genome-wideMethylatedHypomethylated — instability, transposon activation

The two changes occur together and point in opposite directions, which is why describing cancer as "hypermethylated" or "hypomethylated" is incomplete. Focal promoter hypermethylation silences genes such as MLH1 and CDKN2A, while global hypomethylation destabilises the genome.

This matters therapeutically: hypomethylating agents such as azacitidine aim to reverse the promoter silencing and restore tumour suppressor expression.

Measuring It

Bisulfite conversion deaminates unmethylated cytosine to uracil while leaving 5-methylcytosine intact, so methylation becomes a sequence difference. One caveat: standard bisulfite sequencing cannot distinguish 5-methylcytosine from 5-hydroxymethylcytosine, since both resist conversion. Oxidative bisulfite is required to separate them.

Worked Examples

Example 1: CpG island: L=500, n=40, C=130, G=120
O/E=40/(130×120/500)=40/31.2=1.28
Result: O/E>0.6: CpG island — promoter region
Active gene promoters: unmethylated CpG islands
Example 2: Cancer: 75% methylated at CpG island
Promoter hypermethylation
Result: Gene silenced — epigenetic tumor suppressor
BRCA1, MLH1, CDKN2A methylated in cancer
Example 3: Why CpG islands exist at all
Promoter regions retain high CpG density
Result: They escaped germline methylation
Unmethylated cytosine deaminates to uracil, which is repaired. Only methylated CpG mutates permanently, so unmethylated regions retain their CpG content.
Example 4: Cancer methylation pattern
MLH1 promoter hypermethylated, genome globally hypomethylated
Result: Both, simultaneously
Promoter silencing removes mismatch repair while global hypomethylation activates transposons and destabilises the genome.

Common Mistakes

⚠️
Assuming cancer methylation moves in one direction

Tumours typically show focal promoter hypermethylation alongside global hypomethylation. The two occur together and have opposite consequences.

⚠️
Confusing 5mC with 5hmC in bisulfite data

Both resist bisulfite conversion, so standard sequencing cannot distinguish them. Oxidative bisulfite is needed to separate the two marks.

⚠️
Treating O/E above 0.6 alone as defining an island

Standard definitions also require GC content above 50–55% and a minimum length, typically 200 bp or more.

⚠️
Assuming promoter methylation always silences

The relationship is strong for promoter islands but gene body methylation often correlates with active transcription instead.

Frequently Asked Questions

CpG depletion in genome?
Vertebrate genomes: ~1/5 expected CpGs (O/E~0.2). Because methylated CpGs spontaneously deaminate to TpG (mutational decay over evolution). CpG islands: protected from methylation (hence from depletion). ~60% of human genes have CpG island promoters.
Epigenetic inheritance?
During DNA replication: hemi-methylated CpG. DNMT1 (maintenance methylase) recognizes hemi-methylated and methylates new strand. DNMT3A/3B: de novo methylation. TET1/2/3: oxidize 5mC → removal. Dynamic regulation during development and disease.
Why is CpG depleted in mammalian genomes?
Methylated cytosine deaminates to thymine, producing a mismatch that is often repaired incorrectly. Unmethylated cytosine deaminates to uracil, which is reliably excised.
What defines a CpG island?
Typically an observed-to-expected CpG ratio above 0.6, GC content above 50–55%, and a length of at least 200 bp.
What methylation changes occur in cancer?
Focal hypermethylation of promoter CpG islands silencing tumour suppressors, combined with global hypomethylation causing genomic instability.
Can bisulfite sequencing distinguish 5mC from 5hmC?
No. Both resist bisulfite conversion, so they are read identically. Oxidative bisulfite sequencing is required to separate them.