You might well ask, as many do, "Why do you multiply the mass times the freefall acceleration of gravity when the mass is sitting at rest on the table?". The value of g allows you to determine the net gravity force if it were in freefall, and that net gravity force is the weight. Another approach is to consider "g" to be the measure of the intensity of the gravity field in Newtons/kg at your location. You can view the weight as a measure of the mass in kg times the intensity of the gravity field, 9.8 Newtons/kg under standard conditions.
Data can be entered into any of the boxes below. Then click outside the box to update the other quantities.