Relative density compares the density of a substance with the density of water, \(\mathrm{RD}=\rho_{\mathrm{substance}}/\rho_{\mathrm{water}}\). Both densities must use consistent units. Their units cancel.
For a solid fully immersed in water and supported at rest, its apparent weight is less than its weight in air. Ignoring air buoyancy, the difference equals the weight of displaced water. With the object fully immersed, that water has the same volume as the solid.
For a fully immersed solid supported without touching the vessel, divide the weight in air by the apparent weight loss in water, \(\mathrm{RD}=W_{\mathrm{air}}/(W_{\mathrm{air}}-W_{\mathrm{water}})\). The weight in water is the balance reading, so the denominator is the difference.