U.S. legal changes have made it easier to obtain patents on inventions that use software. Software patents have grown rapidly and now comprise 15 percent of all patents. They are acquired primarily by large manufacturing firms in industries known for strategic patenting; only 5 percent belong to software publishers. The very large increase in software patent propensity over time is not adequately explained by changes in R&D investments, employment of computer programmers, or productivity growth. The residual increase in patent propensity is consistent with a sizeable rise in the cost effectiveness of software patents during the 1990s. We find evidence that software patents substitute for R&D at the firm level; they are associated with lower...