Wspitler is correct but your original post didn't say what connection on the gauge you measured the voltage. In addition it would help to know what the gauge displays (what level).
Depending on the gauge there should be at least three connections, possible four.
One connection is the ground. The second is battery voltage ( 12V). The third is the connection to the sender in the tank. The fourth if present might be a feed for a light in the gauge if it is lighted.
Find the wire that goes to the tank sender. Remove it. connect a piece of wire to that terminal on the gauge and a good ground. The gauge should read something ( probably full). With no wire connected the gauge should read empty.
If that is what happens, the gauge is good.
Now connect the sender wire and find the other end at the tank. ground that wire to a good ground, you can leave it connected to the sender. The gauge should read full. If it does, now connect a wire from a good ground to the ground connection of the sender. If the level displayed changes when you ground the ground terminal, the ground is bad
If nothing changes and the gauge reads empty all the time, the sender is probably bad or stuck