# LTspice voltage measurement

How do I measure voltage between two nodes when neither of them is ground? In the schematic below, I want to measure the voltage between nodes Vmic and Vx. Is it just (Vmic-Vx)? I'm afraid that gives a wrong answer.

You can use .meas Vmicpk MAX(V(Vmic)-V(Vx))*1000

Is it just (Vmic-Vx)?

Vmic and Vx are node names and not voltages.

The voltages associated with each node are V(Vmic) and V(Vx)

The difference voltage between the two nodes is V(Vmic)-V(Vx)

Then multiply by 1000 if that's what you want.

• Thank you for the answer. Jan 29 at 13:24
• You can also use V(Vmic,Vx). Jan 29 at 20:39

In addition to the other answers, in LTspice you can identify in any command the voltage across two nodes with the syntax

V(node1,node2)


V(Vmic,Vx)