molarity.to.mass: Get solvent volume to make a solution with a given amount of...

View source: R/molarity.to.mass.R

molarity.to.massR Documentation

Get solvent volume to make a solution with a given amount of a compound.

Description

Given a specific volume of solution wanted calculates the mass of solute necessary to obtain a certain final molarity concentration.

Usage

molarity.to.mass(
  final_concentration,
  final_concentration_unit = "M",
  final_volume,
  final_volume_unit = "mL",
  MW
)

Arguments

final_concentration

Numeric value for the final concentration wanted.

final_concentration_unit

String to define the unit of the final concentration wanted. Available units are: "M", "mM", "uM", "nM", "pM", "fM". By default "M".

final_volume

Numeric value for the final volume wanted.

final_volume_unit

String to define the unit of the volume. Available units are: "L", "mL", "uL". By default "mL".

MW

Numeric value for the Molecular Weigth (MW) of the compound expressed in g/mol.

Value

It returns a string with the mass of compound to use.

Examples

molarity.to.mass(final_concentration = 5, final_volume = 10, MW = 215)


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.