Why convert between mass and moles?
Cloning protocols specify amounts in moles because reactions depend on the number of molecules, not their mass. A 5 kb vector and a 200 bp insert have very different molecular weights, so equal nanograms are very unequal molar amounts. Ligations usually work best at a 3:1 insert-to-vector molar ratio, and Gibson assembly asks for 0.02–0.5 pmol of each fragment.
The conversion
pmol = ng × 1000 / (660 × length in bp) for double-stranded DNA. For example, 100 ng of a 1000 bp fragment is 100 × 1000 / (660 × 1000) = 0.152 pmol. The reverse conversion is ng = pmol × 660 × length / 1000.
Insert-to-vector ratio
Enter the vector mass and length, then the insert length and the molar ratio you want. The calculator returns the insert mass to add. For a 50 ng, 3 kb vector and a 3:1 ratio of a 500 bp insert, the insert mass is about 25 ng.