Compare nylon and wool carpet by dividing each option's total installed cost — material, pad, labor, and the maintenance you will actually pay for — by the number of years the floor will realistically serve, then ask whether you will still own the house long enough to collect the payback. Run that division and the answer stops being "wool is the expensive one." The fiber premium is a smaller share of installed cost than the sample tag suggests, and wool's longer service life only pays out when the room's traffic and mess profile lets the wool survive to its projected age. In a house that will chew up either fiber, the cheaper one wins the math outright.

The number I use is cost per year, not cost per square yard
I keep two carpet samples in the garage, one nylon and one wool, and they stopped being samples a while ago. They're props now. When a neighbor asks which fiber to buy, I take both to the busiest hallway in their house, drop them at the threshold, and have them walk it in socks while the afternoon sun rakes across the floor. Ten steps and they can feel the difference in how the pile springs back under the ball of the foot. That difference is real. It's also not the thing that decides the purchase. The purchase gets decided by a division problem, and I make them do it standing right there.
Prices are useless for this comparison. They move by region, by month, by how slow the installer's week happens to be, and any number I give is stale before the invoice prints. So I use index numbers instead. Nylon's material cost per square yard gets a 1. Wool sits somewhere around 1.5 to 2 on the same scale, and denser constructions push toward the top of that range. That tier gap is genuine.
Then I add back the part the tag doesn't show. Pad and labor land close to the same line whether the face fiber is nylon or wool — the installer's time doesn't change with the yarn, and the pad gets picked by cushion rating and density, not by what's tufted above it. So if the material runs 1 against 1.7, and the pad-and-labor portion is roughly another unit on both sides, you aren't comparing 1 to 1.7 anymore. You're comparing about 2 to about 2.7. The wool premium is still there. It's just noticeably thinner than the showroom math implies, and that thinner gap is what the per-year calculation actually runs on.
Lifespan is a range you choose, not a number you're handed
Nobody hands you a service life. You estimate it, and the estimate comes from three things: how densely the carpet is tufted, how well you maintain it, and how hard the room is on it. Density first. A loose, low-density nylon and a tight, high-density nylon are not the same product and shouldn't be ranked as if they were. The same is true inside wool. If you're comparing fibers, compare like grades, or you'll walk away with a conclusion about construction dressed up as a conclusion about fiber.
Now run the illustrative arithmetic. Say installed cost indexes at 2 for nylon and 2.7 for wool, pad and labor included. In a quiet bedroom with a light vacuuming routine and a professional cleaning every so often, nylon might hold its appearance for ten years and wool for sixteen. Divide: 0.20 per year for the nylon, about 0.17 for the wool. Wool wins, and it wins by enough to notice.
Put that same wool in the hall by the back door, with a gravel driveway, two dogs, and a toddler who eats off the floor. The projected sixteen becomes eleven, maybe fewer. That's roughly 0.245 per year. Nylon in the same spot, giving you nine years, sits near 0.222. Now nylon wins — and the wool you bought specifically for durability became the expensive mistake.
I'm not quoting a warranty table. I'm describing the shape of the arithmetic, because the shape is the point. The fiber decision flips depending on how many years you actually get, and the years are set by the room and the household, not by the yarn label.
Add the costs that show up after the installers leave
Purchase, installation, and pad are the easy half. The rest is cleaning supplies, spot treatment, professional cleaning, and eventual replacement — including the possibility that you replace the pad before you replace the carpet, which is a legitimate move and cheaper than tearing out a sound carpet early.
Wool resists soil and holds its appearance with less frequent deep cleaning. It also dislikes harsh chemistry and dislikes staying wet, which matters when a pet accident sits overnight. Nylon shows soil sooner and typically wants more frequent cleaning to look its best, but it's more forgiving of the cleaning itself. Those two facts pull your annual cost in opposite directions, and which one dominates depends on whether your household mostly generates soil or mostly generates spills.
One more thing about the pad, because people upgrade fiber before they upgrade cushion. A premium wool over a thin, cheap pad is money spent in the wrong place. The pad drives how the floor feels underfoot and how long the carpet holds up more than most buyers expect, and it costs far less to get right than the fiber upgrade does.
Split the budget by room instead of picking one fiber for the whole house
This is where percentage budgeting earns its keep. Measure the rooms, then tag each one twice — once for traffic, once for mess. Traffic is footsteps and friction: the path from the garage door, the hallway to the bathroom, the stairs, the strip in front of the couch. Mess is spills, pets, food, and dirt tracked in from outside. Those two tags are not the same tag, and the second one is the one people forget.
Once the rooms are tagged, stop asking which fiber is better and ask where each one belongs. Suppose the low-traffic, high-visibility rooms — the dining room nobody eats in, the formal front room, the primary bedroom nobody walks through — make up about a fifth of your carpeted floor area. Spending somewhere in the range of 35 to 45 percent of the whole-house carpet budget on that fifth is a defensible allocation, because that's where you actually see and touch the carpet and where it will live long enough to justify the premium. The rest of the budget goes to nylon in the hallways, stairs, kids' rooms, and the high-mess zones, where the years are going to be shorter no matter what you install.
That split is also the honest answer to whole-house projects. Nylon's lower tier is what makes a whole-house carpet replacement financially possible in the first place, and wool reserved for a few high-visibility rooms gives you the wool underfoot where it registers.
The payback window belongs to you, or it belongs to the next owner
Here's the part of the equation that has nothing to do with fiber. If you sell in five years, you paid the entire wool premium and collected almost none of the extra years. And nobody writes you a check for it at closing. Buyers see worn carpet or clean carpet. They don't ask what's in the pile. The dark lane from the doorway to the kitchen hurts their impression regardless of fiber, and fresh, intact carpet helps their impression regardless of fiber. Resale value is rarely driven by fiber alone, so don't buy wool as an investment. Buy it as a service you intend to consume yourself.
Run the division twice
Do the math once with everything going well — good maintenance, moderate traffic, prompt spill cleanup — and once with things going badly — distracted cleaning, heavy traffic, a pet with a sensitive stomach. If wool still wins in the pessimistic column, buy the wool and enjoy it. If wool only wins when everything goes right, buy nylon and put the difference into a better pad and a couple of professional cleanings a year. That's the same money buying you something you can actually measure.