Biology · Molecular Biology
Ligation calculator icon showing a circular plasmid vector and linear insert fragments

Ligation calculator

This ligation calculator tells you how many nanograms of insert to add to a given amount of vector for a chosen vector to insert molar ratio (1:1, 1:3 or any custom ratio). It also gives the pmol of each fragment, the pmol of DNA ends and the DNA concentration of the ligation reaction, and converts any DNA mass to moles.

Enter both fragment lengths in base pairs. The default ligation calculator example is 50 ng of a 4,000 bp linearized vector with a 1,000 bp insert at a 1:3 vector to insert molar ratio in a 20 µL reaction: add 37.5 ng of insert.

Ligation calculator: insert mass for a molar ratio

Insert (ng) = vector (ng) × ratio × insert length (bp) / vector length (bp).
Linearized vector. 50 ng of a 4 kb vector is about 20 fmol, the amount NEB uses in its T4 ligase protocol.
For example 4 for 1:4, or 0.5 for 2:1 (vector in excess).
Used for the DNA concentration and the nM of ends.
The ratio and the insert mass do not depend on this choice; only the pmol values change by about 1.5 %.

Ligation calculator for DNA mass, pmol and ends

pmol = ng × 1000 / (bp × 650); pmol of ends = 2 × pmol for linear DNA.
NEB uses 650 g/mol per base pair; some protocols use 660, which gives about 1.5 % less pmol.

How to use the ligation calculator

In the first panel, enter the mass of linearized vector you plan to use, the vector length and the insert length, all in base pairs, and pick a vector to insert molar ratio. The ligation calculator returns the nanograms of insert to add, the picomoles of each fragment and of their ends, and, if you give the reaction volume, the total DNA concentration. Switch the mode to “Molar ratio of the amounts I have” when the insert is precious and you want to know which ratio a given mass gives. The second panel converts any double-stranded DNA mass to pmol, pmol of ends and number of molecules, and back. “Show the working” lists every step with your numbers, ready to copy into a lab notebook.

To turn a NanoDrop or spectrophotometer reading into a concentration first, use the DNA Concentration Calculator; to work out how many microliters of each stock to pipette, divide the masses by the concentrations or use the Dilution Calculator.

Ligation calculator formula: why the ratio is molar

T4 DNA ligase joins ends, so what matters is how many insert molecules meet each vector molecule, not how many nanograms are in the tube. A 1,000 bp insert has a quarter of the mass of a 4,000 bp vector per molecule, so equal masses already give four inserts per vector. The ligation calculator corrects for the length difference with one line:

Insert (ng) = vector (ng) × (insert : vector molar ratio) × insert length (bp) / vector length (bp)

For the amount of DNA in moles, each base pair of double-stranded DNA weighs on average about 650 g/mol (the value NEB uses), so a fragment of N bp has a molar mass of N × 650 g/mol:

pmol of DNA = mass (ng) × 1000 / (length (bp) × 650)
pmol of ends = 2 × pmol of DNA (linear fragments)

The NEB FAQ on the molarity of ends uses the same formula: 50 ng of a 5 kb vector in 20 µL is 1.54 nM of ends, and a 3:1 insert to vector ratio with a 1 kb insert needs 30 ng of insert. Some protocols use 660 g/mol per base pair; the panel lets you choose. That changes the pmol values by about 1.5 % but not the insert mass, because the mass per base pair cancels out of the ratio.

Worked example with the ligation calculator

You have a 4,000 bp vector cut with two restriction enzymes and a 1,000 bp PCR insert with matching ends, and you want a 1:3 vector to insert molar ratio with 50 ng of vector in a 20 µL reaction.

  1. Vector: 50 × 1000 / (4000 × 650) = 0.01923 pmol, or 19.2 fmol, close to the 20 fmol (50 ng of a 4 kb vector) in the NEB T4 DNA ligase protocol.
  2. Insert: 50 ng × 3 × 1000 / 4000 = 37.5 ng.
  3. Check: 37.5 × 1000 / (1000 × 650) = 0.05769 pmol, which is 3.00 times the vector.
  4. Ends: 0.03846 pmol for the vector and 0.1154 pmol for the insert; in 20 µL that is 1.923 nM and 5.769 nM of ends.
  5. Total DNA: (50 + 37.5) ng / 20 µL = 4.375 ng/µL = 4.375 µg/mL, inside the 1 to 10 µg/mL range NEB gives as optimal.

These are the default values, so the ligation calculator shows the same numbers. If the insert stock is 25 ng/µL, pipette 37.5 / 25 = 1.5 µL.

Which vector to insert ratio to enter in the ligation calculator

LigationTypical vector : insert molar ratioNotes
Sticky-end cloning, single insert1:3Common default; 1:1 to 1:10 all work for single insertions (NEB)
Blunt-end cloning1:3 to 1:5Blunt ends join less efficiently, so a higher insert excess helps
Short insert or adapter (below about 100 bp)1:5 to 1:10 or moreSmall masses; pipetting error matters, so dilute the insert first
Insert larger than the vector1:1 to 3:1The ng of insert become large; avoid more than about 10 µg/mL DNA in total
Concentration unknown or first attemptTry 1:1, 1:3 and 1:5Run parallel ligations, plus a vector-only control

NEB recommends vector to insert molar ratios between 1:1 and 1:10 for single insertions, about 20 to 30 fmol of vector, and a total DNA concentration of 1 to 10 µg/mL. Your kit or ligase manual takes precedence; the table is a starting point, not a rule, and you can enter any custom ratio in the ligation calculator.

Practical tips beyond the ligation calculator

Use the cut vector mass. After digestion and gel purification you recover only part of the plasmid; measure the purified, linearized vector and enter that number. Use the fragment lengths, not the plasmid length. If you drop out a 50 bp stuffer, the vector length is the plasmid length minus the stuffer. Run controls. A vector-only ligation shows the background of uncut or self-ligated vector; dephosphorylating the vector reduces it. Keep the volume small. Higher concentrations of ends favor joining between molecules, but too much DNA promotes concatemers. Count the ends you need. For a three-fragment or Gibson-type assembly, each fragment should usually be in a set molar excess over the vector; the second panel of the ligation calculator gives the pmol of each fragment so you can balance them. For general molar calculations the Molarity Calculator and Molar Mass Calculator cover small molecules.

Common mistakes with a ligation calculator

Setting the ratio by mass. A 1:3 mass ratio is not a 1:3 molar ratio unless both fragments are the same length; the ligation calculator always works with molar ratios. Swapping the ratio. 1:3 vector to insert means three inserts per vector; 3:1 insert to vector means the same thing, but 3:1 vector to insert is the opposite. Read the order in your protocol. Entering the length in kilobases. Enter 4000, not 4; a mix of kb and bp gives an insert mass a thousand times off. Using an absorbance concentration from a dirty sample. Salt, RNA and free nucleotides inflate A260 readings, so the real vector mass is lower and the ratio drifts. Ignoring the decimal in small numbers. 0.0192 pmol is 19.2 fmol, not 192 fmol; the ligation calculator prints both units to help. Very large or very small numbers can be checked with the Scientific Notation Calculator.

Ligation calculator reference values

QuantityValueSource or note
Average mass of a base pair (dsDNA)650 g/mol (Da)NEB; some protocols use 660 g/mol
1 kb of dsDNAabout 650 kDa; 1 µg ≈ 1.54 pmolFrom 650 g/mol per bp
50 ng of a 4 kb vector0.0192 pmol (≈ 20 fmol)NEB T4 DNA ligase protocol example
Recommended vector amount20 to 30 fmolNEB T4 DNA ligase protocol
Optimal total DNA concentration1 to 10 µg/mLNEB FAQ on the molarity of ends
Avogadro constant6.02214076 × 10²³ mol⁻¹SI exact value

Related calculators

Other tools for cloning and molecular biology are collected in the Biology Calculators hub, including the primer melting temperature and protein molecular weight calculators.

Frequently asked questions

How do I calculate how much insert to use in a ligation?

Multiply the vector mass by the molar ratio and by insert length / vector length. For 50 ng of a 4,000 bp vector, a 1,000 bp insert and a 1:3 ratio: 50 × 3 × 1000 / 4000 = 37.5 ng of insert. The ligation calculator does this and shows the pmol of each fragment.

What is the best vector to insert ratio for ligation?

A 1:3 vector to insert molar ratio is the usual starting point for sticky-end cloning. NEB gives 1:1 to 1:10 as optimal for single insertions; blunt ends and short inserts often need a larger insert excess.

Why is the ratio molar and not by mass?

Ligase joins DNA ends, so the number of molecules matters. A short insert has fewer nanograms per molecule than a long vector, so equal masses contain many more insert molecules than vector molecules. That is why the ligation calculator works in moles.

How do I convert ng of DNA to pmol?

pmol = ng × 1000 / (bp × 650). For 100 ng of a 1,000 bp fragment, that is 100,000 / 650,000 = 0.1538 pmol, and a linear fragment has twice as many pmol of ends, 0.3077 pmol.

Should I use 650 or 660 g/mol per base pair?

Either works. NEB uses 650 g/mol per base pair; other protocols use 660. The insert mass for a given molar ratio is the same with both, and the pmol values differ by about 1.5 %. The ligation calculator lets you pick either.

Is this ligation calculator free?

Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.

Results are for study and lab preparation; check important results against your own protocol, kit instructions and controls. Back to biology calculators or CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: