Pinch the edge of the carpeting at the corner of a room with a pair of needle-nose pliers and pull up on the carpet. This lifts it up so you can see the pad underneath it.
Pull up the pad so you have access to the subfloor. This is where you locate the joists.
Search for two rows of nails close together. Each row of nails indicates a joist and the distance between the rows indicates how far the joists are spaced across the room.
Measure the distance between the nail rows, and then run the tape measure across the floor to estimate where the other joists are without having to pull up more of the carpeting.
Put the carpeting back down once you have located the joists.