Measure for your carpet by counting the number of stairs you have and multiplying the number by the width of each tread plus the width of each riser. You can calculate the length simply by measuring from one side of your stairwell to the other. Be sure to note any additional length creating by a nose or extension on the end of your stairs.
Lay a length of tack stripping along the crotch (the seam between the tread and the riser) of each stair.
Lay the padding and carpet down on the stairs, pushing them into position with your hands or a hammer handle. Make it as even and tight as possible, but don't worry if it's not perfect yet.
Starting with the top stair, tighten the carpet against the crotch using a knee kicker. The kicker should allow you to squeeze the carpet into place and ensure that there are no bulges or misalignment.
Use the knee kicker to hook the carpet of the topmost stair onto the tack strips, starting from the center of the stair and working your way towards the edges.
Slide a stair tool along the carpet to ensure that the pins from the tack strips are compressed.
Check the carpet to ensure that it is firmly held and flush against the stairs. Trim any excess material with a utility knife if needed.
Hammer upholstery nails along the edges and riser to secure the carpeting for good.
Repeat the process with the second-highest stair, then proceed downward step by step until the entire staircase is carpeted.
Use the utility knife to cut away any excess material on the bottom of the stairs. Try to keep it as flush as possible to the bottom of the lowest riser, so that it will blend seamlessly with the carpeting on the landing.