ForHosting KIT · Developer Utilities

dsDNA mass to molar concentration calculator

This dsDNA mass-to-molar concentration calculator converts a double-stranded DNA concentration such as ng/µL into mol/L, µM, nM, and pM.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

It uses the molecule's base-pair count and an average molecular weight per base pair, defaulting to the widely used approximation of 660 g/mol per bp. The result helps laboratory teams prepare dilutions, normalize samples, compare constructs of different lengths, and calculate molecule-based inputs from mass measurements. You can override the average base-pair weight when your protocol or sequence model requires a different assumption.

Enter a mass concentration and the correct DNA length

Start with the measured mass concentration of the double-stranded DNA sample and select the unit that describes that number. The calculator accepts ng/µL, µg/mL, mg/mL, and g/L. It normalizes every supported unit to grams per liter before performing the molar calculation. Next, enter the length of one DNA molecule as a positive whole number of base pairs. Use the full length of the molecular species whose molarity you need, including vector backbone, insert, adapters, or other double-stranded segments that are present in each molecule. A plasmid described as 5,000 bp should therefore be entered as 5000, not as the length of only one feature. Length matters because equal masses of short and long DNA contain different numbers of molecules: a shorter molecule has lower molecular weight and consequently produces a higher molar concentration at the same mass concentration. The mass value may be zero when representing an empty or below-reporting sample, but base-pair length must always be greater than zero. Numeric strings are accepted by the calculation engine, while non-finite values, fractional base-pair counts, negative concentrations, and unsupported unit labels are rejected so that an apparently plausible result cannot hide malformed input.

Understand the molecular-weight approximation and formula

The calculation first estimates the molecular weight of one dsDNA molecule by multiplying its base-pair count by the average molecular weight per base pair. The default is 660 grams per mole per base pair, a conventional approximation for double-stranded DNA. A 5,000 bp construct therefore has an estimated molecular weight of 3,300,000 g/mol under the default assumption. Molar concentration is then the normalized mass concentration in g/L divided by that molecular weight in g/mol. Unit cancellation leaves mol/L. The response also scales the same result into micromolar, nanomolar, and picomolar values so you can use the magnitude most convenient for a protocol. For example, 50 ng/µL equals 0.05 g/L; dividing by 3,300,000 g/mol gives about 1.515 × 10^-8 mol/L, or 15.15 nM. The 660 value is an average rather than an exact sequence-derived molecular weight. You may replace it with another positive value when a kit, institutional method, or detailed composition calculation specifies one. The calculator reports the assumption used and the resulting total molecular weight, making the conversion auditable instead of silently embedding a constant.

Use the result appropriately in laboratory planning

Use the returned molarity to compare DNA constructs by molecule count, plan equimolar pooling, calculate dilution targets, or translate a fluorometric mass measurement into a concentration suitable for ligation and sequencing workflows. When combining fragments, verify that every input describes double-stranded DNA and that the entered base-pair length corresponds to the actual molecular form. This tool does not measure concentration, infer fragment length, inspect a sequence, correct for sample purity, or account for a distribution of fragment sizes. A broad sheared-DNA sample cannot be represented exactly by one base-pair count; an average or modal length creates an approximation whose limitations should be documented. Likewise, absorbance-derived mass concentrations can include contributions from contaminants, and topology or unusual modifications may make a simple average molecular weight less appropriate. The output is therefore only as accurate as the mass measurement, length, and molecular-weight assumption supplied. Keep those inputs with your experiment record, especially when reproducibility matters. The algorithm is pure deterministic arithmetic, uses no network calls, and returns the same values for the same input. The browser runner and API share the same calculation. Automated API use costs $0.002 per request, while validation errors identify the field that must be corrected.

Prepare an equimolar plasmid pool

Convert each plasmid's measured mass concentration using its complete base-pair length before choosing pooling volumes.

Plan a DNA dilution

Translate ng/µL into nM or pM so a stock can be diluted to the molecule-based concentration required by a protocol.

Normalize amplicons of different sizes

Compare amplicons on a molar basis so longer products are not overrepresented merely because their mass is greater.

What formula does the calculator use?

It converts mass concentration to g/L, calculates molecular weight as base pairs multiplied by average bp molecular weight, and divides g/L by g/mol to obtain mol/L.

Why is the default molecular weight 660 g/mol per base pair?

It is a common average approximation for double-stranded DNA. Exact molecular weight depends on sequence composition and modifications, so the value can be overridden.

Can I use this for single-stranded DNA or RNA?

No. The default model is specifically for double-stranded DNA base pairs. Single-stranded nucleic acids require a different molecular-weight assumption and length convention.

Which mass concentration units are supported?

The accepted units are ng/µL, µg/mL, mg/mL, and g/L, represented in input as ng/uL, ug/mL, mg/mL, and g/L.

What should I enter for fragmented DNA?

Enter a representative fragment length only if an approximate molarity is acceptable. A size distribution does not have one exact molecule-level molarity under this simple model.

How much does API use cost?

Each successful API request costs $0.002. The calculation is also available in the browser runner.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/bio/dsdna-mass-to-molar

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/bio/dsdna-mass-to-molar \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mass_concentration":50,"base_pairs":5000}'
{
  "mass_concentration": 50,
  "base_pairs": 5000
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "bio.dsdna_mass_to_molar",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_base_pairs1000000000000
max_mass_concentration1000000000000
max_average_bp_molecular_weight1000000
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →