Agarose Gel Simulator: Percent, Run Time, Band Positions
Choose agarose percentage, estimate DNA band positions and run time, and mix a gel recipe. Animate the run or calibrate the approximate mobility model to your ladder.
This agarose gel electrophoresis simulator helps students, molecular biology users, and engineers plan a DNA separation before casting a gel. Enter two linear double-stranded DNA fragment sizes, select agarose percentage and running buffer, and watch their bands move toward the positive electrode. The results include predicted band positions, a DNA gel run time estimate, a simple resolution measure, and quantities for preparing the gel.
Start with the fragment sizes in base pairs. The suggested percentage selects a published size range that covers both fragments and places their geometric mean near the middle of that range. It is a starting point, not an optimization of a close separation. Lower percentages generally suit larger fragments; higher percentages help sieve smaller fragments. The range table makes the basis of this agarose gel percentage calculator visible.
Enter the applied voltage and the distance between the electrodes in your tank. The electric field uses electrode spacing, so substituting gel length gives the wrong result. Usable gel length is a separate measurement from the well bottom to the far edge. Move the elapsed-time slider or press play to animate the run. The generic reference ladder and mixed sample use the same mobility model. A band disappears when its centre reaches the edge; the numerical result still reports its theoretical distance.
For a useful laboratory estimate, enable ladder calibration. Enter two known sizes and their measured centre distances from one run, together with that run’s field and duration. Match its buffer and agarose percentage, and bracket your sample sizes with the two ladder sizes. Calibration adjusts the mobility curve; it cannot compensate for a different stain, overheating, or an overloaded sample. TAE requires calibration because the default published coefficients describe TBE, and there is no universal buffer speed conversion.
Resolution compares centre spacing with your assumed full baseline band widths. The displayed time to resolution 1.5 keeps those widths fixed. Real bands broaden, so treat this as a planning indicator and compare it with the time to the gel edge. Identical fragment sizes cannot be separated by size.
The recipe reports agarose mass and the stock-buffer and water volumes needed for the chosen volume of 1× buffer. Tank buffer is additional. Follow your laboratory protocol for melting, cooling, casting, and staining. This approximate tool covers 100–10,000 bp linear DNA; it does not model circular plasmids, RNA, proteins, pulsed fields, heating, diffusion, or fluorescence intensity.
How it is calculated
The electric field is , using the electrode spacing. Band-centre distance is .
The nominal TBE model uses the empirical reciprocal-exponential interpolation of Van Winkle, Beheshti and Rill (2002), also documented in Beheshti's open dissertation, Eq. 2.56 and Fig. 4.4 (printed pp. 41 and 62): . For concentration entered as the numerical percentage, m²/(V·s), m²/(V·s), and bp. These coefficients describe 1× TBE near 22°C, 2.78 V/cm, 0.5–1.5% agarose, and 100–10,000 bp. At other fields the tool approximates constant mobility. The thesis prose describes a 24% short-limit decrease; the caption's coefficients imply about 18%. This implementation follows the printed coefficients.
For calibration, measured mobilities are . A straight line in fits ; the published crossover size is retained. Positive intercept and slope preserve positive, size-ordered mobilities. TAE uses this measured fit, with no invented buffer multiplier.
Resolution is , with full baseline widths supplied by the user. The conventional threshold is an indicator under the assumed widths. For different migration speeds, its time is . Equal speeds never reach Rs 1.5, and the time calculation states that explicitly. The 80%-length run time leaves a nominal margin before the faster sample exits.
Published size ranges come from Thermo Fisher Tables 2–3. Every published row within 0.5–2.0% is included; size bounds are interpolated logarithmically only between published concentrations. The suggested percentage chooses an eligible row whose geometric midpoint is closest to the sample pair's geometric mean; this selection rule is authored here. Agarose mass is g for in mL. To make 1× buffer from × stock, use stock and the balance as water.
Assumptions
- Linear, double-stranded DNA with constant effective mobility during a constant-voltage run; nominal data were post-stained.
- Uniform field, matching gel/tank buffer, and negligible heating or buffer exhaustion. Changing voltage scales speed linearly; real DNA mobility can also change with field.
- Calibration entry defaults are illustrative examples, not measurements. Replace them before using calibration.
- Two-band calibration applies only to the recorded percentage and buffer. It retains the empirical crossover shape, so interpolation between measured sizes is more defensible than extrapolation.
- Baseline band widths are user estimates for the observation time and remain fixed during the animation. Gel image thickness depicts those widths; the reference ladder uses a schematic 1 mm width.
- The generic ladder is a set of round-number sizes, not a commercial product or an independent experimental result. In calibration mode the chart and ladder display are limited to the two measured sizes; blank table cells are outside that calibration span.
- Recipe volumes describe casting buffer, excluding tank buffer and stain. Restore water lost during melting according to your laboratory protocol.
- Calibration distances must be measured while bands are on the calibration gel. That gel may have a different length; usable gel length under Run conditions controls only the current run's edge and animation.
Where it applies
Mobility and run time are approximate estimates, not a validated prediction for every apparatus. The published nominal coefficients are for 0.5–1.5% TBE gels near 2.78 V/cm and 22°C. The tool permits 0.5–2.0%, 100–10,000 bp and up to 240 minutes; warnings identify extrapolation. For 2% gels, TAE, stains present during the run, or another apparatus, calibrate with a ladder run under matching conditions.
There is no temperature or Joule-heating model, no diffusion or loading model, and no correction for agarose grade, electroosmosis, salt, sequence-dependent curvature, gel deformation, or buffer depletion. Do not use the sizes for supercoiled/nicked plasmids, RNA, protein gels, or pulsed-field separations. A time longer than the edge time cannot produce an on-gel resolved pair. The 1.5 resolution threshold assumes ordinary band profiles and sensible baseline widths.
Reference checks verify published preparation quantities and gel-range values; they do not independently validate migration accuracy. Property checks verify the mathematical trends and scalings of the implemented approximation.
References
- Helling RB, Goodman HM, Boyer HW (1974). Analysis of endonuclease R·EcoRI fragments of DNA from lambdoid bacteriophages and other viruses by agarose-gel electrophoresis. J Virol 14:1235–1244. https://doi.org/10.1128/jvi.14.5.1235-1244.1974
- Southern EM (1979). Measurement of DNA length by gel electrophoresis. Anal Biochem 100:319–323. https://doi.org/10.1016/0003-2697(79)90235-5 (reciprocal-mobility sizing context; its full correction is not implemented).
- Stellwagen NC (2009). Electrophoresis of DNA in agarose gels, polyacrylamide gels and in free solution. Electrophoresis 30:S188–S195. https://doi.org/10.1002/elps.200900052 ; open manuscript: https://pmc.ncbi.nlm.nih.gov/articles/PMC2757927/
- Van Winkle DH, Beheshti A, Rill RL (2002). DNA electrophoresis in agarose gels: a simple relation describing the length dependence of mobility. Electrophoresis 23:15–19. https://doi.org/10.1002/1522-2683(200201)23:1%3C15::AID-ELPS15%3E3.0.CO;2-L
- Beheshti A (2002). DNA Electrophoresis in Agarose Gels: A New Mobility vs. DNA Length Dependence. Florida State University dissertation. Eq. 2.56; Fig. 4.4, printed p. 62; experiment conditions in §3.2.1. Open thesis transcript: https://studyres.com/doc/15301051/dna-electrophoresis-in-th-agarose-gels--a-new-mobility
- Thermo Fisher Scientific. Five Main Nucleic Acid Gel Electrophoresis Steps, Tables 2 and 3. https://www.thermofisher.com/us/en/home/life-science/cloning/cloning-learning-center/invitrogen-school-of-molecular-biology/na-electrophoresis-education/na-electrophoresis-workflow.html (accessed 28 October 2026).
- University of Wisconsin Havey laboratory. Standard Agarose Gel Electrophoresis, attached PDF pp. 1–3. https://haveylab.horticulture.wisc.edu/wp-content/uploads/sites/66/2016/05/Agarose-gel-electrophoresis.pdf
- Addgene. Agarose Gel Electrophoresis, standard 1% gel recipe. https://www.addgene.org/protocols/gel-electrophoresis/
Inputs
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Fragment A (bp) Base-pair count of linear double-stranded DNA. | N_A | 1000 | |
| Fragment B (bp) Both fragments are shown in the mixture lane. | N_B | 2000 | |
| Agarose (% w/v) 1 means 1 g per 100 mL. The uncalibrated fit was measured at 0.5–1.5%; above 1.5% is extrapolation. | p_gel | 1 | |
| Running buffer Use the same buffer in the gel and tank. There is no universal TAE/TBE speed multiplier. | buffer | 1× TBE | |
| Applied voltage The field is voltage divided by electrode spacing, not gel length. | V_run | V | 70 |
| Electrode spacing Distance between the tank electrodes. | L_electrode | cm | 25 |
| Usable gel length Distance from the bottom of the loading wells to the far gel edge. | L_run | mm | 70 |
| Elapsed run time Press ▶ to watch the bands move. Positions are measured from the wells. | t_run | min | 90 |
| Assumed full baseline width A Full baseline band width at the observation time, not FWHM. Estimate it from a comparable gel. | w_A | mm | 1.5 |
| Assumed full baseline width B Widths stay fixed in this planning model; broadening and loading effects are not predicted. | w_B | mm | 1.5 |
| Gel solution volume Prepared 1× buffer volume for casting; excludes the tank buffer. | V_gel | mL | 50 |
| Buffer stock strength (×) 10 means dilute one part 10× stock to ten parts total to make 1×. Use the selected TAE or TBE stock. | stock_x | 10 | |
| Use two measured ladder bands Enable for your apparatus or for TAE. Calibration entries are example values: replace them with your measured ladder sizes, band-centre distances, field and duration. | cal_on | false | |
| Measured gel agarose (% w/v) Calibration is valid only at this concentration. Match the selected gel percentage. | p_cal | 1 | |
| Measured gel buffer Must match the buffer selected above. | buffer_cal | 1× TBE | |
| Measured run electric field For the measured run: voltage divided by electrode spacing. | F_cal | V/cm | 2.8 |
| Measured run duration Time during which the measured ladder migrated. | t_cal | min | 90 |
| Smaller ladder fragment (bp) Use two bands that bracket both sample sizes. | N_1 | 500 | |
| Smaller fragment distance Band centre measured from the well bottom while on the calibration gel. That run may use a different gel length; the smaller fragment must travel farther. | d_1 | mm | 34 |
| Larger ladder fragment (bp) Must be larger than the first calibration fragment. | N_2 | 5000 | |
| Larger fragment distance On-gel band-centre distance from the same calibration run as the smaller ladder band. | d_2 | mm | 12 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Suggested starting gel | 1.2% w/v — starting point |
| Band A from wells | 28.4 mm |
| Band B from wells | 21.2 mm |
| Band-centre gap | 7.1 mm |
| Resolution Rs (assumed widths) | 4.76 |
| Can the pair resolve? | Rs 1.5 at about 28.4 min; widths assumed |
| Run time to 80% length (estimate) | 178 min |
| First sample reaches edge (estimate) | 222 min |
| Agarose powder | 0.5 g |
| Stock buffer for 1× casting buffer | 5 mL |
| Water for 1× casting buffer | 45 mL |
Checked against sources
Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).
UW published 400 mL, 0.7% microgel batch
Source: UW Havey laboratory, Standard Agarose Gel Electrophoresis, PDF page 1. Published recipe: 2.8 g agarose, 40 mL 10× TBE and 360 mL water for 400 mL of 0.7% gel.
Inputs: Agarose (% w/v) = 0.7; Gel solution volume = 400 mL; the others as above.
| Result | Source | This calc |
|---|---|---|
| Agarose powder | 2.8 g | 2.8 g |
| Stock buffer for 1× casting buffer | 40 mL | 40 mL |
| Water for 1× casting buffer | 360 mL | 360 mL |
UW published 30 mL, 1.5% minigel recipe
Source: UW Havey laboratory, Standard Agarose Gel Electrophoresis, PDF page 3, Minigel Box: 30 mL of 1.5% agarose uses 0.45 g.
Inputs: Agarose (% w/v) = 1.5; Gel solution volume = 30 mL; the others as above.
| Result | Source | This calc |
|---|---|---|
| Agarose powder | 0.45 g | 0.45 g |
Addgene standard 1% gel: 1 g in 100 mL
Source: Addgene Agarose Gel Electrophoresis, Pouring a Standard 1% Agarose Gel: 1 g agarose and 100 mL 1× TAE. https://www.addgene.org/protocols/gel-electrophoresis/ . This verifies mass preparation, independently of the mobility model.
Inputs: Gel solution volume = 100 mL; the others as above.
| Result | Source | This calc |
|---|---|---|
| Agarose powder | 1 g | 1 g |
Thermo Fisher published 1.5% size range
Source: Thermo Fisher, Five Main Nucleic Acid Gel Electrophoresis Steps, Table 2: 1.5% agarose, 200–3,000 bp. Table-range check, not a measured migration test.
Inputs: Agarose (% w/v) = 1.5; the others as above.
| Result | Source | This calc |
|---|---|---|
| Approximate lower size for selected percentage (bp) | 200 | 200 |
| Approximate upper size for selected percentage (bp) | 3,000 | 3,000 |
Thermo Fisher 0.6%: 1,000–20,000 bp
Source: Thermo Fisher, Five Main Nucleic Acid Gel Electrophoresis Steps, Table 2: 0.6% agarose has a published efficient-separation range of 1,000–20,000 bp. Regression for the omitted row; the exact source row must be preserved.
Inputs: Agarose (% w/v) = 0.6; the others as above.
| Result | Source | This calc |
|---|---|---|
| Approximate lower size for selected percentage (bp) | 1,000 | 1,000 |
| Approximate upper size for selected percentage (bp) | 20,000 | 20,000 |
Thermo Fisher 0.8%: 800–10,000 bp
Source: Thermo Fisher, Five Main Nucleic Acid Gel Electrophoresis Steps, Table 2: 0.8% agarose has a published efficient-separation range of 800–10,000 bp. A 700 bp sample is outside that guidance range.
Inputs: Agarose (% w/v) = 0.8; Fragment A (bp) = 700; the others as above.
| Result | Source | This calc |
|---|---|---|
| Approximate lower size for selected percentage (bp) | 800 | 800 |
| Approximate upper size for selected percentage (bp) | 10,000 | 10,000 |
Thermo Fisher 0.9%: 600–10,000 bp
Source: Thermo Fisher, Five Main Nucleic Acid Gel Electrophoresis Steps, Table 2: 0.9% agarose has a published efficient-separation range of 600–10,000 bp. Regression for the omitted row.
Inputs: Agarose (% w/v) = 0.9; Fragment A (bp) = 600; the others as above.
| Result | Source | This calc |
|---|---|---|
| Approximate lower size for selected percentage (bp) | 600 | 600 |
| Approximate upper size for selected percentage (bp) | 10,000 | 10,000 |







Responses