A galvanometer is an electrical instrument used for detecting the presence of electric current in a circuit and also for measuring its direction and magnitude (although ammeters are typically used for precise magnitude measurement).