KG to L and L to Kg Converter with SG

Hi, I am trying to create a KG to L and L to KG converter using the specific gravity of the materials. I have " different drop down menus and depending on which drop down I choose would result in the specific formula required. However i cant think of any formulas that would work. Any help would be greatly appreciated