How to measure magnitude