Oligonucleotide Tm Calculator
Enter a DNA sequence of 5 to 70 nucleotides to estimate its melting temperature. Oligos up to 13 nt use the Wallace rule; longer ones use the basic GC formula. GC content is reported alongside. These are empirical formulas for standard assay conditions, not nearest-neighbour thermodynamics.
Local context
The melting temperature (Tm) of an oligo is the temperature at which half of it is paired and half is single-stranded. Primer Tm is what sets the annealing step of a PCR cycle, and two primers with very different Tm values anneal unevenly. The nearest-neighbor method (SantaLucia, 1998) sums enthalpy and entropy for each dinucleotide step, then solves Tm = ΔH° / (ΔS° + R ln(Ct)) − 273.15 + 16.6 log10[Na⁺], where Ct is total strand concentration.
Enter a sequence and the calculator returns its Tm under standard conditions (50 mM Na⁺, 0.2 µM primer), so a primer pair can be checked for a workable annealing temperature before ordering. It also returns %GC, length, and molecular weight for ordering specs.
When NOT to use: for probe Tm (TaqMan, molecular beacons) which have different concentration assumptions. For PCR master mix scaling, use the PCR Master Mix Calculator. For primer-dimer or hairpin analysis, this tool does not compute secondary structure — use a dedicated oligo analyzer.
Key formula: Nearest-neighbor Tm = ΔH° / (ΔS° + R ln(Ct)) + 16.6 log10[Na⁺]. Reference: SantaLucia (1998) PNAS 95:1460; IDT OligoAnalyzer algorithm.
Calculator
Enter a sequence and calculate to see the melting temperature
Melting temperature (Tm)
≤ 13 nt: Tm = 2(A+T) + 4(G+C) · 14–70 nt: Tm = 64.9 + 41 × (G+C − 16.4) / length
Short oligos use the Wallace rule (each A/T pair contributes 2 °C, each G/C pair 4 °C). Longer oligos use the basic GC formula. Both assume standard low-salt conditions. See the limitations below the calculator.
Related guides
- Primer Tm Comparison: Evaluate CalculatorsCompare primer melting temperature (Tm) calculators: Wallace rule, nearest-neighbor model, GC content, salt concentration, and how IDT, Twist, and NEB estimates differ. Pick the right Tm for your PCR design.
- PCR Master Mix: Recipe, Scaling, and TroubleshootingHow to prepare a PCR master mix: the standard 25 µL recipe, scaled totals for 10, 24, and 96 reactions at 10% overage, order of addition, annealing-temperature starting points, and a troubleshooting table.
- Set Up a PCR Plate: Primers, Master Mix, and Plate MapOne worked plate from primers to plate map: check primer Tm, measure template by A260, scale the 25 µL master mix to 96 reactions at 10% overage, and lay out the 96-well plate map.
About this calculation
What this is
Tm is the temperature at which half the oligo is single-stranded and half is base-paired with its perfect complement. Below Tm the duplex is favoured; above it, the strands separate. PCR annealing temperatures are usually set a few degrees below Tm.
Why it is used
A working annealing temperature is the difference between a clean band and a smear. The Wallace rule gives a quick estimate for short primers; the basic GC formula extends that estimate to oligos up to 70 nt by scaling with GC content.
Why this calculator exists
Both formulas are short, but the length cutoff and the base counts are easy to slip by hand. The calculator picks the formula your oligo length needs and reports GC content with the result.
Worked example
A 20 nt primer with 50% GC, ATGCATGCATGCATGCATGC, has 10 G or C bases and 10 A or T bases. It is longer than 13 nt, so the basic GC formula applies: Tm = 64.9 + 41 x (10 - 16.4) / 20 = 51.8 °C. Anneal a few degrees below that, around 48 to 50 °C, and confirm with a gradient PCR.
A 12 nt primer, ATGCATGCATGC, has 6 G or C bases and 6 A or T bases. At 12 nt the Wallace rule applies: Tm = 2 x 6 + 4 x 6 = 36 °C. A 14 nt primer would switch to the basic GC formula, so always count the length first.
The table shows how Tm moves with length and GC content under these two formulas. Longer oligos and higher GC content both raise Tm, but the values assume standard low-salt assay conditions, so under PCR salt the true Tm runs several degrees higher.
| Length | GC content | Formula | Tm |
|---|---|---|---|
| 10 nt | 40% | Wallace | 28 °C |
| 10 nt | 60% | Wallace | 32 °C |
| 13 nt | 46% | Wallace | 38 °C |
| 20 nt | 40% | Basic GC | 47.7 °C |
| 20 nt | 60% | Basic GC | 55.9 °C |
| 30 nt | 50% | Basic GC | 63.0 °C |
Common mistakes
- Using the Tm directly as the annealing temperature. Anneal a few degrees below the lower primer Tm and confirm with a gradient PCR; annealing at Tm itself leaves half the primer unbound.
- Comparing Tm values from different methods or salt conditions. Only compare Tm values calculated with the same formula and conditions. This tool assumes standard low-salt assay conditions, so its values run lower than a nearest-neighbour Tm at PCR salt.
- Ignoring the length cutoff between the two formulas. Count the length first. The Wallace rule applies at 13 nt or shorter and the basic GC formula at 14 nt or longer, and one extra base can switch the formula.
- Designing primers with very low or very high GC content. Aim for roughly 40 to 60% GC. Extremes make the estimate less reliable and the primer more prone to secondary structure.
- Trusting the estimate without checking self-complementarity. Check the primer for self-complementarity and hairpins separately. This calculator does not model secondary structure, and a primer that folds on itself will not anneal cleanly.
Key assumptions
- The oligo is DNA containing only A, C, G and T.
- Standard assay conditions are assumed: about 50 ng/µL oligo, low monovalent cation, pH around 7.
- The two strands form a simple duplex; secondary structure is not modelled.
How to use it
Enter a DNA sequence using only A, C, G, and T, between 5 and 70 nucleotides. The calculator applies the Wallace rule for short oligos and the basic GC formula for longer ones, and reports the GC content alongside.
Count the sequence length before you rely on the formula. The Wallace rule and the GC formula are chosen by length, so an extra base changes which one is applied.
Use the result as a starting point for annealing temperature, not a final value. For PCR, a common rule of thumb is to anneal a few degrees below the lower primer's Tm.
For a critical primer design, validate the Tm with a nearest-neighbour calculation or a gradient PCR rather than trusting the estimate alone.
If your two primers differ widely in Tm, redesign rather than compromise. The annealing temperature should suit both, and a mismatched pair is a common source of non-specific product.
Check the GC content: primers with extreme GC content are prone to secondary structure and need special handling.
Limitations
- Under typical PCR salt conditions (50 mM K⁺) the true Tm is several degrees higher than these formulas report.
- These are empirical formulas, not nearest-neighbour thermodynamics. For critical designs, check with a nearest-neighbour tool or gradient PCR.
- Sequences longer than 70 nt are rejected because the formulas are not validated for them.
- There is no salt-concentration input, so the estimate cannot be adjusted to a different buffer.
What this calculates
- Melting temperature (Tm) °C
- Estimated temperature at which half of the duplexes are dissociated.
- Length nt
- Number of nucleotides in the sequence.
- GC content %
- Percentage of G and C bases in the sequence.
Sources
- Rychlik 1990 Rychlik, W., Spencer, J.S. & Rhoads, R.E. (1990). Optimization of the annealing temperature for DNA amplification in vitro. Nucleic Acids Research 18(21):6409–6412.
- Wallace 1979 Wallace, R.B., Shaffer, J., Murphy, R.F., Bonner, J., Hirose, T. & Itakura, K. (1979). Hybridization of synthetic oligodexynucleotides to φX174 DNA. Nucleic Acids Research 6(11):3543–3557. — origin of the 2 °C per A/T and 4 °C per G/C Wallace rule.
Frequently asked questions
What is the melting temperature (Tm) of an oligonucleotide?
Tm is the temperature at which half of the DNA duplexes have separated into single strands. It depends on length and base composition, with G·C pairs contributing more stability than A·T pairs. This calculator estimates Tm in °C from a 5–70 nt sequence and reports the length and GC content alongside it.
How do I use the oligo Tm calculator?
Enter a single-stranded DNA sequence of 5 to 70 nucleotides using only the bases A, C, G, and T; the check is case-insensitive. The calculator returns the melting temperature, the length, and the GC percentage, and it selects the formula for you based on how long the oligo is. Ambiguity codes and sequences longer than 70 nt are rejected rather than estimated.
Which formula does this calculator use, and why does it switch at 13 nt?
Oligos of 13 nt or fewer use the Wallace rule: 2 °C per A/T plus 4 °C per G/C, which is the 2+4 rule of thumb for short primers. Longer oligos up to 70 nt use the basic GC formula, 64.9 + 41 × (G+C − 16.4) / length, which accounts for length and GC content. The simple Wallace count loses accuracy as oligos grow, so the switch is made automatically at the boundary.
What is the difference between melting temperature and annealing temperature?
Tm is a property of the oligo duplex: the temperature where half of it is dissociated. The annealing temperature is the temperature you actually set on the thermocycler for primer binding during PCR, and it is typically chosen a few degrees below the primer Tm. This calculator gives you the Tm value only; it does not compute an annealing temperature for a given protocol.
Why is my measured Tm higher than the value from this calculator?
The Wallace and basic GC formulas are empirical estimates made under standard assay conditions of roughly 50 ng/µL oligo, low monovalent cation, and pH around 7. Under typical PCR salt conditions, such as 50 mM K⁺, the true Tm sits several degrees higher than these formulas report. They are also not nearest-neighbour thermodynamics and model no secondary structure, so for critical designs validate with a nearest-neighbour tool or a gradient PCR.
For research and educational use only. Not for clinical or diagnostic decisions. Always verify calculations independently before use in critical applications.