Use this tool to explore the law for yourself. Select which variable you want to calculate, then adjust the sliders for the other two. Watch how the third value changes instantly.: V = I * R
Given $V = 12.0 V$ and $I = 0.5 A$, we calculate $R = V / I = 24.0 Ω$.