Specify window, strand and convention
One specified sequence window on one specified DNA strand; G and C are nonnegative integer base counts with G+C>0. This page explicitly uses (G−C)/(G+C). Historical papers also use the opposite sign. Unknown bases are not counted as G or C. Changing the strand or window boundary changes the interpretation.[1][2]
The previous reference explicitly used C−G. Switching to G−C is a declared standardization, not a claim that the historical mathematics was wrong. Old values can be negated when all other counting rules match.[3][2]
Normalize the difference by the total signal
For nonnegative counts,|G−C|≤G+C. A positive denominator gives the bounds.[2]
- Specify strand, window and counting rule; count G and C separately.
- Check G+C>0. Without G and C, the mathematical statistic is undefined.
- Compute the signed difference G−C and normalize by G+C.
- Check the range −1 through +1 and interpret the sign under the explicitly stated convention.
Two fully worked window comparisons
The sign depends on the convention
- Given
- Original window: G=20 and C=30 bases.
- Find
- Calculate the G−C value and compare it with the historical opposite convention.
There are 50 G-or-C bases; the denominator is positive.
G−C=−10, so s=−10/50=−0.20.
Under (C−G)/(C+G), the same data give +0.20. The counts are unchanged; only the sign convention differs.
Result: GC skew=−0.20 under this page’s G−C convention.
Check: More C than G must give a negative value here.
Equal GC content, different skew
- Given
- Two original 100-bp windows: A has G=30, C=20; B has G=25, C=25.
- Find
- Calculate GC content and skew separately.
Both windows contain 50 G+C bases, so each has 50% GC content.
Window A has skew=(30−20)/50=0.20; window B has(25−25)/50=0.
GC content compares G+C with total length. Skew compares G with C within that subset.
Result: Both have 50% GC; their skew values are +0.20 and 0.
Check: Equal composition totals do not imply equal G-versus-C asymmetry.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Local composition does not establish a mechanism
A single skew value proves neither a replication origin nor transcription direction. Changing to the complementary strand swaps G and C and reverses the sign. Window size, overlap and excluded characters belong in a reproducible analysis.[2]
The calculator accepts two whole base counts per window, each at most 1012. It does not read FASTA files, smooth profiles or detect replication sites. G=C=0 is rejected; a software placeholder zero is not reported as a mathematical value.[1]
Five exercises with solutions
Calculate · Foundation
G=36, C=24. Calculate GC skew using(G−C)/(G+C).
Show hint
Divide the difference by the sum.
Learning goal: Calculate GC skew
Show solution and calculation
s=12/60=0.20.
The positive sign means excess G.
Rearrange · Application
G+C=80 and s=0.25. Find G and C.
Show hint
Use G=(G+C)(1+s)/2.
Learning goal: Recover counts from total and skew
Show solution and calculation
G=80·1.25/2=50; C=80−50=30.
Check: (50−30)/80=0.25.
Interpret · Application
A window has G=45, C=15. What skew does its reverse complement have?
Show hint
Complementing swaps G and C.
Learning goal: Interpret strand reversal
Show solution and calculation
Original s=30/60=0.50; the reverse complement has G=15, C=45, giving s=−0.50.
Reversing order alone does not change counts.
Error analysis · Application
A 100-bp window contains only A and T. Software reports skew 0. What qualification is needed?
Show hint
G=C=0 gives 0/0.
Learning goal: Do not interpret a zero denominator as balance
Show solution and calculation
The ratio is mathematically undefined.
Software may use 0 as a documented placeholder; it does not demonstrate balanced counts with any G/C bases present.
Our calculator rejects this case.
Transfer · Challenge
Window 1 has G=9, C=1; window 2 has G=10, C=90. Find their combined skew.
Show hint
Add G and C counts first.
Learning goal: Do not average unequal windows unweighted
Show solution and calculation
Combined G=19, C=91, so s=−72/110=−36/55≈−0.655.
The unweighted mean of window skews (+0.8 and −0.8) is 0 and is wrong; weighting by G+C gives the combined value.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Add other sequence summaries
GC content uses total evaluated sequence length as its denominator.
Sequencing depth describes read bases relative to target size, not strand asymmetry.
N50 summarizes assembly contiguity; it does not assess G/C distribution.
Sources for this explanation
Quanta · Updated November 9, 2026
- Biopython:Bio.SeqUtils.GC_skew documentation
- Marín and Xia2008:GC skew in protein-coding genes,Introduction and Eq1
- Lobry 1996:Asymmetric substitution patterns in the two DNA strands of bacteria,Methods
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a full article with checked examples, learning tasks, explicit model limits and a native figure.
Cite this reference page
Quanta. GC skew of a sequence. Updated November 9, 2026. https://quanta-study.de/en/formula-sheet/gc-skew-sequenz
When citing a specific scientific statement, also cite the specialist source linked to that statement.