The primary tool for mechanical characterization of surfaces and films is instrumented indentation using the Oliver-Pharr data analysis method. However, this method measures contact area between the indenter and sample indirectly, thus confounding instrumented indentation tests when characterizing dynamic properties, thin films, and materials that “pileup” around the indenter. Here, we demonstrate an electrical technique to continuously measure the in situ contact area by relating nonlinear electrical contact current–voltage (I–V) curves to the instantaneous contact area. Using this approach, we can obtain hardness as a continuous function of applied force.