Converting moles of compounds