Skip to content

[Calculator]: Add qPCR primer dilution calculator #1

@lichangda94-sys

Description

@lichangda94-sys

Calculator or workflow name

qPCR primer dilution calculator

Category

PCR / qPCR

Laboratory workflow need

Users often need to prepare primer working solutions from concentrated primer stocks before PCR or qPCR experiments. A calculator should help determine how much primer stock and nuclease-free water are needed to prepare a target working concentration and final volume.

Required inputs

  • Primer stock concentration
  • Target working concentration
  • Final preparation volume
  • Concentration unit
  • Volume unit

Expected outputs

  • Primer stock volume
  • Nuclease-free water volume
  • Final volume
  • Warning messages for invalid or very small volumes

Formula or calculation rules

C1 × V1 = C2 × V2

Stock volume = target concentration × final volume / stock concentration

Diluent volume = final volume - stock volume

Units

Concentration: M, mM, uM, nM
Volume: mL, uL

Validation rules and warnings

  • Stock concentration must be greater than target concentration
  • Concentration values must be positive
  • Final volume must be positive
  • Warn if calculated stock volume is below 0.5 uL
  • Diluent volume cannot be negative

Example calculation

Prepare 100 uL of 10 uM primer working solution from 100 uM stock.

Expected result:
10 uL stock primer
90 uL nuclease-free water

References or notes

This calculator should be implemented as transparent calculation logic with unit tests. UI integration can be added later.

Scope check

  • This request is for research or laboratory workflow assistance, not clinical diagnosis or treatment decisions.
  • I have not included patient data, private laboratory records, API keys, credentials, unpublished proprietary protocols, or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions