How do you calculate what the voltage will be after a resistor?

[quote author=Coding Badly link=topic=146977.msg1104360#msg1104360 date=1360021795]

David82:
If you have a 12v battery, you put an X Ohm resistor in series, and you measure the voltage after the resistor (at the green terminals in the image below), what will it be?

Twelve volts.
[/quote]nope. The voltage varies depending on resistance.
Another example is that same battery and a 30ft wire. the voltage measured at the end of that 30ft wire will not be 12v because of the resistance of the wire. if the resistance of the wire is known, what formula will tell me the resultant voltage?