Primer3 icon

Primer3

(2.6.1)

Design PCR primers for DNA sequences with Primer3 controls for regions, Tm, GC content, and product size. Learn more

Primer3 webserver overview

Primer3 is one of the standard tools for PCR primer design. It searches a DNA template for primer pairs that satisfy thermodynamic, compositional, positional, and product-size constraints, then ranks the surviving candidates by penalty score.

ProteinIQ runs the native Primer3 2.6.1 core. The tool keeps Primer3's default generic PCR workflow and supports a focused set of native controls without reimplementing the scoring model.

For related preprocessing, you can use GC Content to inspect template composition or DNA to Protein to check coding sequence context before primer design.

For a step-by-step workflow covering region controls, Tm and GC limits, complementarity checks, and specificity validation, see How to use Primer3 online.

How Primer3 chooses primers

Primer3 evaluates candidate oligos against hard constraints such as:

  • primer length
  • melting temperature (TmT_mTm​)
  • GC content
  • self-complementarity and 3' complementarity
  • product size
  • allowed or excluded template regions

Candidates that pass those filters are ranked by penalty score. Lower penalties are better and indicate candidates that sit closer to the configured optima.

Inputs

InputAccepted formatLimits and behavior
DNA SequenceRaw DNA sequence or single-record FASTA text, .fasta, .fa, .fas, .txt, or .seq fileOne required DNA sequence, up to 10 MB. Multi-record FASTA is rejected instead of silently using only the first record.
Job nameTextOptional label stored with the run.

Settings

Main settings stays visible for the standard design workflow. Advanced settings is collapsed by default and contains optional controls for primer design, primer quality, secondary structure, PCR chemistry, 5′ overhangs, and result diagnostics. Dependent fields appear only when their parent task or configuration section is enabled.

Main settings

SettingDefault or rangeDescription
TaskDesign primer pairsRuns Primer3's generic task for new primer pairs or Check existing primers for the native check_primers task.
Left primer (5' -> 3')Not setOptional forward primer used only with Check existing primers. Provide it in the 5′ to 3′ direction.
Right primer (5' -> 3')Not setOptional reverse primer used only with Check existing primers. Provide it in the 5′ to 3′ direction; ProteinIQ maps it to Primer3's reverse-complement input.
Check behaviorOffOpens controls for how provided primers that fail hard constraints are handled. Available with Check existing primers.
Return primers that fail constraintsOffEnables PRIMER_PICK_ANYWAY so failing provided primers are returned with native problem descriptions.
Region constraintsOffOpens target, included, and excluded region controls.
Region modeAutoSelects Auto with no region constraint, Target region mapped to SEQUENCE_TARGET, or Included region mapped to SEQUENCE_INCLUDED_REGION.
Region start position1; 1-1,000,0001-based start for the target or included region. Available for Target region and Included region.
Region length (bp)100; 1-100,000Length of the target or included region. Available for Target region and Included region.
Excluded region startNot set; 1-1,000,000Optional 1-based start of a region that primers cannot overlap. Use it with Excluded region length.
Excluded region length (bp)Not set; 1-100,000Optional length of the excluded region, mapped to SEQUENCE_EXCLUDED_REGION.
Minimum Tm (C)57°C; 40-80°CMinimum acceptable melting temperature.
Maximum Tm (C)63°C; 55-85°CMaximum acceptable melting temperature.
Minimum product size (bp)100; 1-2,000Minimum acceptable PCR product size.
Maximum product size (bp)300; 1-5,000Maximum acceptable PCR product size.
Number of primer pairs5; 1-20Number of primer pairs returned by the run.

Primer design

SettingDefault or rangeDescription
Primer designOffOpens primer length, optimal Tm, GC, and product-size preferences.
Optimal Tm (C)60°C; 50-75°CTarget melting temperature used when ranking primers against the selected optimum.
Minimum primer size (bp)18; 10-35Minimum primer length.
Optimal primer size (bp)20; 15-30Target primer length used for ranking.
Maximum primer size (bp)27; 18-36Maximum primer length. Primer3 accepts values up to 36 in this interface.
Minimum GC (%)20; 0-100Minimum primer GC percentage.
Optimal GC (%)Not set; native default 50Optional target GC percentage used for ranking.
Maximum GC (%)80; 0-100Maximum primer GC percentage.
Optimal product size (bp)Not set; 1-5,000Optional target product size used for ranking. It does not replace the minimum and maximum product-size constraints.
Additional product size ranges (bp)Not setOptional comma- or semicolon-separated intervals such as 400-500, 600-700. A product in any listed interval is accepted.

Primer quality

SettingDefault or rangeDescription
Primer qualityOffOpens homopolymer, GC-clamp, ambiguous-base, and primer-pair Tm controls.
Max homopolymer length5; 1-10Maximum length of a mononucleotide repeat in a primer, mapped to PRIMER_MAX_POLY_X.
GC clamp (3' end)0; 0-5Requires this many G or C nucleotides at the 3′ end of each primer.
Max GC at 3' end5; 0-5Maximum number of G or C nucleotides in the last five bases at a primer's 3′ end.
Max Ns accepted0; 0-5Maximum number of unknown bases, N, allowed in a primer.
Max Tm difference (C)100°C; 0-100°CMaximum allowed Tm difference between the left and right primers.

Secondary structure

SettingDefault or rangeDescription
Secondary structureOffOpens self-complementarity, pair-complementarity, hairpin, and 3′ stability controls.
Max 3' end stability (kcal/mol)Not set; native default 100Optional cap on the stability of the last five 3′ bases. The native default is effectively off.
Max self-complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for a primer pairing with another copy of itself.
Max 3' self-complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for a self-complementary interaction anchored at a primer's 3′ end.
Max pair complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for complementarity between the left and right primers.
Max 3' pair complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for left and right primer complementarity anchored at a 3′ end.
Max hairpin Tm (C)Not set; native default 47°COptional maximum melting temperature for an intramolecular primer hairpin.

Primer3 evaluates these complementarity limits with its thermodynamic oligo-alignment mode. The limits are maximum duplex or hairpin melting temperatures, not percentages.

PCR chemistry

SettingDefault or rangeDescription
PCR chemistryOffOpens thermodynamic method, salt, primer concentration, annealing temperature, and additive controls.
Tm calculation methodSantaLucia 1998Selects SantaLucia 1998 or Breslauer 1986 for the thermodynamic Tm table.
Salt correction formulaSantaLucia 1998Selects SantaLucia 1998, Schildkraut-Lifson 1965, or Owczarzy 2004 for salt correction.
Salt concentration (mM)50; 0.001-500Monovalent salt concentration used for Tm calculation.
Divalent cation concentration (mM)1.5; 0-100Divalent cation concentration, such as Mg²⁺, used for Tm calculation.
dNTP concentration (mM)0.6; 0-10Total dNTP concentration used for Tm calculation.
DNA concentration (nM)50; 0.001-1,000Primer concentration used for Tm calculation.
Annealing temperature (C)Not set; 0-100°COptional annealing temperature used to calculate bound-percentage metrics. It cannot be combined with the Owczarzy 2004 salt correction.
DMSO concentration (%)Not set; native default 0; 0-100Optional DMSO concentration used in the Tm correction.
DMSO factorNot set; native default 0.6; 0-10Optional DMSO correction factor.
Formamide concentration (mol/L)Not set; native default 0; 0-20Optional formamide concentration used in Tm calculation.

5′ overhangs

SettingDefault or rangeDescription
5′ overhangsOffOpens optional left and right 5′ overhang sequences.
Left primer 5' overhangNot setOptional sequence added to the 5′ end of the left primer through SEQUENCE_OVERHANG_LEFT.
Right primer 5' overhangNot setOptional sequence added to the 5′ end of the right primer through SEQUENCE_OVERHANG_RIGHT.

Primer3 includes overhangs in complementarity and product-size calculations where its native behavior defines them. Tm and GC percentage remain tied to the template-binding portion.

Result diagnostics

SettingDefault or rangeDescription
Result diagnosticsOffOpens the optional Primer3 explanation fields.
Include Primer3 diagnosticsOffReturns considered, rejected, and accepted primer counts and other native explanation fields.

Understanding the results

The results table is built from native Primer3 output. ProteinIQ keeps the original tag map in the result payload and also presents a spreadsheet view with high-value fields such as:

  • primer sequences
  • derived 1-based binding ranges
  • native Primer3 coordinate tuples
  • Tm and GC%
  • product size
  • pair penalty
  • left and right penalties
  • pair and 3' pair complementarity Tm
  • self-complementarity and 3' self-complementarity Tm per primer
  • hairpin Tm per primer
  • end stability
  • bound percentage when available
  • native left and right problem descriptions when failing primers are returned

Primer3's explain strings are returned alongside the table so you can see why candidates were rejected or why not enough primer pairs were found.

Notes and limits

  • this tool uses Primer3's generic primer-design task and its check_primers task. It does not currently support the broader task families such as sequencing primers or internal oligo (hybridization probe) workflows.
  • Primer3 optimizes against the submitted template only. It does not check whole-genome off-target binding.
  • Restriction sites, SNP-aware specificity, and external genome-level validation should be checked with downstream tools such as Primer-BLAST when needed.

Table of contents

Primer3 icon

Primer3

(2.6.1)

Design PCR primers for DNA sequences with Primer3 controls for regions, Tm, GC content, and product size. Learn more

Primer3 webserver overview

Primer3 is one of the standard tools for PCR primer design. It searches a DNA template for primer pairs that satisfy thermodynamic, compositional, positional, and product-size constraints, then ranks the surviving candidates by penalty score.

ProteinIQ runs the native Primer3 2.6.1 core. The tool keeps Primer3's default generic PCR workflow and supports a focused set of native controls without reimplementing the scoring model.

For related preprocessing, you can use GC Content to inspect template composition or DNA to Protein to check coding sequence context before primer design.

For a step-by-step workflow covering region controls, Tm and GC limits, complementarity checks, and specificity validation, see How to use Primer3 online.

How Primer3 chooses primers

Primer3 evaluates candidate oligos against hard constraints such as:

  • primer length
  • melting temperature (TmT_mTm​)
  • GC content
  • self-complementarity and 3' complementarity
  • product size
  • allowed or excluded template regions

Candidates that pass those filters are ranked by penalty score. Lower penalties are better and indicate candidates that sit closer to the configured optima.

Inputs

InputAccepted formatLimits and behavior
DNA SequenceRaw DNA sequence or single-record FASTA text, .fasta, .fa, .fas, .txt, or .seq fileOne required DNA sequence, up to 10 MB. Multi-record FASTA is rejected instead of silently using only the first record.
Job nameTextOptional label stored with the run.

Settings

Main settings stays visible for the standard design workflow. Advanced settings is collapsed by default and contains optional controls for primer design, primer quality, secondary structure, PCR chemistry, 5′ overhangs, and result diagnostics. Dependent fields appear only when their parent task or configuration section is enabled.

Main settings

SettingDefault or rangeDescription
TaskDesign primer pairsRuns Primer3's generic task for new primer pairs or Check existing primers for the native check_primers task.
Left primer (5' -> 3')Not setOptional forward primer used only with Check existing primers. Provide it in the 5′ to 3′ direction.
Right primer (5' -> 3')Not setOptional reverse primer used only with Check existing primers. Provide it in the 5′ to 3′ direction; ProteinIQ maps it to Primer3's reverse-complement input.
Check behaviorOffOpens controls for how provided primers that fail hard constraints are handled. Available with Check existing primers.
Return primers that fail constraintsOffEnables PRIMER_PICK_ANYWAY so failing provided primers are returned with native problem descriptions.
Region constraintsOffOpens target, included, and excluded region controls.
Region modeAutoSelects Auto with no region constraint, Target region mapped to SEQUENCE_TARGET, or Included region mapped to SEQUENCE_INCLUDED_REGION.
Region start position1; 1-1,000,0001-based start for the target or included region. Available for Target region and Included region.
Region length (bp)100; 1-100,000Length of the target or included region. Available for Target region and Included region.
Excluded region startNot set; 1-1,000,000Optional 1-based start of a region that primers cannot overlap. Use it with Excluded region length.
Excluded region length (bp)Not set; 1-100,000Optional length of the excluded region, mapped to SEQUENCE_EXCLUDED_REGION.
Minimum Tm (C)57°C; 40-80°CMinimum acceptable melting temperature.
Maximum Tm (C)63°C; 55-85°CMaximum acceptable melting temperature.
Minimum product size (bp)100; 1-2,000Minimum acceptable PCR product size.
Maximum product size (bp)300; 1-5,000Maximum acceptable PCR product size.
Number of primer pairs5; 1-20Number of primer pairs returned by the run.

Primer design

SettingDefault or rangeDescription
Primer designOffOpens primer length, optimal Tm, GC, and product-size preferences.
Optimal Tm (C)60°C; 50-75°CTarget melting temperature used when ranking primers against the selected optimum.
Minimum primer size (bp)18; 10-35Minimum primer length.
Optimal primer size (bp)20; 15-30Target primer length used for ranking.
Maximum primer size (bp)27; 18-36Maximum primer length. Primer3 accepts values up to 36 in this interface.
Minimum GC (%)20; 0-100Minimum primer GC percentage.
Optimal GC (%)Not set; native default 50Optional target GC percentage used for ranking.
Maximum GC (%)80; 0-100Maximum primer GC percentage.
Optimal product size (bp)Not set; 1-5,000Optional target product size used for ranking. It does not replace the minimum and maximum product-size constraints.
Additional product size ranges (bp)Not setOptional comma- or semicolon-separated intervals such as 400-500, 600-700. A product in any listed interval is accepted.

Primer quality

SettingDefault or rangeDescription
Primer qualityOffOpens homopolymer, GC-clamp, ambiguous-base, and primer-pair Tm controls.
Max homopolymer length5; 1-10Maximum length of a mononucleotide repeat in a primer, mapped to PRIMER_MAX_POLY_X.
GC clamp (3' end)0; 0-5Requires this many G or C nucleotides at the 3′ end of each primer.
Max GC at 3' end5; 0-5Maximum number of G or C nucleotides in the last five bases at a primer's 3′ end.
Max Ns accepted0; 0-5Maximum number of unknown bases, N, allowed in a primer.
Max Tm difference (C)100°C; 0-100°CMaximum allowed Tm difference between the left and right primers.

Secondary structure

SettingDefault or rangeDescription
Secondary structureOffOpens self-complementarity, pair-complementarity, hairpin, and 3′ stability controls.
Max 3' end stability (kcal/mol)Not set; native default 100Optional cap on the stability of the last five 3′ bases. The native default is effectively off.
Max self-complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for a primer pairing with another copy of itself.
Max 3' self-complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for a self-complementary interaction anchored at a primer's 3′ end.
Max pair complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for complementarity between the left and right primers.
Max 3' pair complementarity Tm (C)47°C; 0-100°CMaximum thermodynamic Tm for left and right primer complementarity anchored at a 3′ end.
Max hairpin Tm (C)Not set; native default 47°COptional maximum melting temperature for an intramolecular primer hairpin.

Primer3 evaluates these complementarity limits with its thermodynamic oligo-alignment mode. The limits are maximum duplex or hairpin melting temperatures, not percentages.

PCR chemistry

SettingDefault or rangeDescription
PCR chemistryOffOpens thermodynamic method, salt, primer concentration, annealing temperature, and additive controls.
Tm calculation methodSantaLucia 1998Selects SantaLucia 1998 or Breslauer 1986 for the thermodynamic Tm table.
Salt correction formulaSantaLucia 1998Selects SantaLucia 1998, Schildkraut-Lifson 1965, or Owczarzy 2004 for salt correction.
Salt concentration (mM)50; 0.001-500Monovalent salt concentration used for Tm calculation.
Divalent cation concentration (mM)1.5; 0-100Divalent cation concentration, such as Mg²⁺, used for Tm calculation.
dNTP concentration (mM)0.6; 0-10Total dNTP concentration used for Tm calculation.
DNA concentration (nM)50; 0.001-1,000Primer concentration used for Tm calculation.
Annealing temperature (C)Not set; 0-100°COptional annealing temperature used to calculate bound-percentage metrics. It cannot be combined with the Owczarzy 2004 salt correction.
DMSO concentration (%)Not set; native default 0; 0-100Optional DMSO concentration used in the Tm correction.
DMSO factorNot set; native default 0.6; 0-10Optional DMSO correction factor.
Formamide concentration (mol/L)Not set; native default 0; 0-20Optional formamide concentration used in Tm calculation.

5′ overhangs

SettingDefault or rangeDescription
5′ overhangsOffOpens optional left and right 5′ overhang sequences.
Left primer 5' overhangNot setOptional sequence added to the 5′ end of the left primer through SEQUENCE_OVERHANG_LEFT.
Right primer 5' overhangNot setOptional sequence added to the 5′ end of the right primer through SEQUENCE_OVERHANG_RIGHT.

Primer3 includes overhangs in complementarity and product-size calculations where its native behavior defines them. Tm and GC percentage remain tied to the template-binding portion.

Result diagnostics

SettingDefault or rangeDescription
Result diagnosticsOffOpens the optional Primer3 explanation fields.
Include Primer3 diagnosticsOffReturns considered, rejected, and accepted primer counts and other native explanation fields.

Understanding the results

The results table is built from native Primer3 output. ProteinIQ keeps the original tag map in the result payload and also presents a spreadsheet view with high-value fields such as:

  • primer sequences
  • derived 1-based binding ranges
  • native Primer3 coordinate tuples
  • Tm and GC%
  • product size
  • pair penalty
  • left and right penalties
  • pair and 3' pair complementarity Tm
  • self-complementarity and 3' self-complementarity Tm per primer
  • hairpin Tm per primer
  • end stability
  • bound percentage when available
  • native left and right problem descriptions when failing primers are returned

Primer3's explain strings are returned alongside the table so you can see why candidates were rejected or why not enough primer pairs were found.

Notes and limits

  • this tool uses Primer3's generic primer-design task and its check_primers task. It does not currently support the broader task families such as sequencing primers or internal oligo (hybridization probe) workflows.
  • Primer3 optimizes against the submitted template only. It does not check whole-genome off-target binding.
  • Restriction sites, SNP-aware specificity, and external genome-level validation should be checked with downstream tools such as Primer-BLAST when needed.

Table of contents

Related tools

BioPhi

BioPhi

Antibody humanization and humanness evaluation platform from Merck. Sapiens mode uses deep learning trained on the Observed Antibody Space (OAS) to humanize antibody sequences, while OASis mode evaluates humanness using 9-mer peptide search against human antibody databases.

sequence-designai-powered+3
DNA mutation generator

DNA mutation generator

Mutate DNA online and generate reproducible substitution, insertion, deletion, or mixed variant libraries from plain sequences or FASTA.

DNAsequence-design+1
ESM-IF1

ESM-IF1

Inverse folding with ESM-IF1. Design protein sequences for given 3D backbone structures using a geometric deep learning model. Generate multiple sequence variants optimized for your target structure.

sequence-designdeep-learning+2
HyperMPNN

HyperMPNN

Design thermostable protein sequences using ProteinMPNN trained on hyperthermophilic organism structures. Generates sequences optimized for improved thermal stability without requiring ligands or additional context.

sequence-designproperty-prediction+3
IgDesign

IgDesign

Design antibody heavy- and light-chain CDR sequences from an antibody-antigen complex with the IgDesign inverse-folding model.

antibody-designsequence-design+5
LigandMPNN

LigandMPNN

Design protein sequences with atomic context from ligands, metals, and nucleotides. Achieves 63.3% sequence recovery at binding sites, significantly outperforming ProteinMPNN (50.5%).

sequence-designenzyme-design+4
DNA ligation calculator

DNA ligation calculator

Calculate insert DNA mass for a target insert:vector molar ratio, compare common ratios, and optionally convert DNA stock concentrations into pipetting volumes.

DNAsequence-design+1
ProFam

ProFam

ProFam-1 is a protein family language model for family-conditioned sequence generation. Provide a protein family in FASTA, A2M, or A3M format and generate new sequences with model likelihood scores for downstream ranking and screening.

sequence-designai-powered+4
ProteinMPNN

ProteinMPNN

Design protein sequences for given backbone structures using deep learning. Fast and accurate inverse folding with state-of-the-art sequence recovery (52.4%).

proteinsequence-design+2
DNAGenIQ - Random DNA sequence generator

DNAGenIQ - Random DNA sequence generator

Generate random DNA sequences with customizable length, GC content, and restriction sites for molecular cloning and testing purposes.

DNAsequence-design+1