There isn't much working out involved in converting a molecular formula into an empirical one. If you mean calculating the empirical formula from given percentage compositions of elements in a compound, then look here for examples.
Ethene is C2H4, the ratio of C to H is 2:4, which is the same...