In a practical circuit, use digital meters like multimeter, ammeter and/or voltmeter to find currents and voltages.
If you are going to calculate these values using a program, you may use standard formulae. You can find these standard formulae online or in a reference book easily. Some of the standard formulae are as following –
Voltage = Current * Resistance
1 phase AC power = voltage * current * power factor