Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24c49eb1912b36e

Jump to content

Template:USDCY/doc

From Wikipedia, the free encyclopedia

This template will automatically show current-year US dollar figures for any historical value you put in, using {{inflation}}.

MarkupRenders as
A widget cost $6.66 in 1899 {{USDCY|6.66|1899}}.

A widget cost $6.66 in 1899 ($257.74 in 2025).

If the input amount is a hundred dollars or less, it calculates to the tenth of a dollar, and if it's ten dollars or less, it gives a result in cents.

You can specify a third parameter to omit the surrounding text, and you can use {{USDCY}} by itself to get the year:

MarkupRenders as
A widget was $6.66 in 1899, which by {{USDCY}} is about as much as {{USDCY|6.66|1899|blah blah blah}} dollars.

A widget was $6.66 in 1899, which by 2025 is about as much as 257.74 dollars.

There are some limitations:

  • This only works for years that the inflation template has figures for.
  • This usually doesn't go up to the current year (for example, if you add the template in 2027, it might give figures for 2024 or something). This is not a bug; see Template:Inflation/year. It takes some amount of time for inflation figures to be calculated and made public. It will try to give the current year, but in practice, it will usually just get as close as possible.
  • This template is just a quick way to do a common task with other templates; if you need more specialized behavior, just take the bones out of this template and modify it to be appropriate.
    • {{USDCY}} will always be formatted the same way, as ($1234 in 2022).
    • {{USDCY}} doesn't support doing anything weird with decimals, significant figures, or other input into the inflation templates (unless you can just pass it through with the two parameters in {{USDCY}}).
Year $100 then is $100 now was
2022 $110.00 $90.909
2021 $119.00 $84.034
2020 $124.00 $80.645
2019 $126.00 $79.365
2018 $128.00 $78.125
2017 $131.00 $76.336
2016 $134.00 $74.627
2015 $136.00 $73.529
2014 $136.00 $73.529
2013 $138.00 $72.464
2012 $140.00 $71.429
2011 $143.00 $69.930
2010 $148.00 $67.568
2009 $150.00 $66.667
2008 $150.00 $66.667
2007 $155.00 $64.516
2006 $160.00 $62.500
2005 $165.00 $60.606
2004 $170.00 $58.824
2003 $175.00 $57.143
2002 $179.00 $55.866
2001 $182.00 $54.945
2000 $187.00 $53.476
1999 $193.00 $51.813
1998 $198.00 $50.505
1997 $201.00 $49.751
1996 $205.00 $48.780
1995 $211.00 $47.393
1994 $217.00 $46.083
1993 $223.00 $44.843
1992 $229.00 $43.668
1991 $236.00 $42.373
1990 $246.00 $40.650
1989 $260.00 $38.462
1988 $272.00 $36.765
1987 $283.00 $35.336
1986 $294.00 $34.014
1985 $299.00 $33.445
1984 $310.00 $32.258
1983 $323.00 $30.960
1982 $334.00 $29.940
1981 $354.00 $28.249
1980 $391.00 $25.575
1979 $444.00 $22.523
1978 $494.00 $20.243
1977 $531.00 $18.832
1976 $566.00 $17.668
1975 $598.00 $16.722
1974 $653.00 $15.314
1973 $725.00 $13.793
1972 $770.00 $12.987
1971 $795.00 $12.579
1970 $829.00 $12.063
1969 $878.00 $11.390
1968 $926.00 $10.799
1967 $966.00 $10.352
1966 $992.00 $10.081
1965 $1,022 $9.785
1964 $1,038 $9.634
1963 $1,052 $9.506
1962 $1,064 $9.398
1961 $1,077 $9.285
1960 $1,088 $9.191
1959 $1,104 $9.058
1958 $1,116 $8.961
1957 $1,146 $8.726
1956 $1,184 $8.446
1955 $1,202 $8.319
1954 $1,199 $8.340
1953 $1,203 $8.313
1952 $1,212 $8.251
1951 $1,240 $8.065
1950 $1,338 $7.474
1949 $1,353 $7.391
1948 $1,340 $7.463
1947 $1,442 $6.935
1946 $1,651 $6.057
1945 $1,788 $5.593
1944 $1,829 $5.467
1943 $1,861 $5.373
1942 $1,970 $5.076
1941 $2,189 $4.568
1940 $2,298 $4.352
1939 $2,315 $4.320
1938 $2,287 $4.373
1937 $2,240 $4.464
1936 $2,320 $4.310
1935 $2,348 $4.259
1934 $2,407 $4.155
1933 $2,487 $4.021
1932 $2,360 $4.237
1931 $2,117 $4.724
1930 $1,927 $5.189
1929 $1,875 $5.333
1928 $1,875 $5.333
1927 $1,853 $5.397
1926 $1,819 $5.498
1925 $1,836 $5.447
1924 $1,879 $5.322
1923 $1,890 $5.291
1922 $1,923 $5.200
1921 $1,805 $5.540
1920 $1,607 $6.223
1919 $1,857 $5.385
1918 $2,140 $4.673
1917 $2,513 $3.979
1916 $2,959 $3.380
1915 $3,183 $3.142
1914 $3,214 $3.111
1913 $3,258 $3.069
1912 $3,336 $2.998
1911 $3,455 $2.894
1910 $3,455 $2.894
1909 $3,583 $2.791
1908 $3,583 $2.791
1907 $3,455 $2.894
1906 $3,583 $2.791
1905 $3,583 $2.791
1904 $3,583 $2.791
1903 $3,583 $2.791
1902 $3,721 $2.687
1901 $3,870 $2.584
1900 $3,870 $2.584
1899 $3,870 $2.584
1898 $3,870 $2.584
1897 $3,870 $2.584
1896 $3,870 $2.584
1895 $3,870 $2.584
1894 $3,721 $2.687
1893 $3,583 $2.791
1892 $3,583 $2.791
1891 $3,583 $2.791
1890 $3,583 $2.791
1889 $3,583 $2.791
1888 $3,583 $2.791
1887 $3,583 $2.791
1886 $3,583 $2.791
1885 $3,583 $2.791
1884 $3,583 $2.791
1883 $3,455 $2.894
1882 $3,336 $2.998
1881 $3,336 $2.998
1880 $3,336 $2.998
1879 $3,455 $2.894
1878 $3,336 $2.998
1877 $3,023 $3.308
1876 $3,023 $3.308
1875 $2,932 $3.411
1874 $2,846 $3.514
1873 $2,688 $3.720
1872 $2,688 $3.720
1871 $2,688 $3.720
1870 $2,546 $3.928
1869 $2,419 $4.134
1868 $2,419 $4.134
1867 $2,304 $4.340
1866 $2,199 $4.548
1865 $2,103 $4.755
1864 $2,059 $4.857
1863 $2,615 $3.824
1862 $3,225 $3.101
1861 $3,583 $2.791
1860 $3,583 $2.791
1859 $3,583 $2.791
1858 $3,721 $2.687
1857 $3,455 $2.894
1856 $3,583 $2.791
1855 $3,455 $2.894
1854 $3,583 $2.791
1853 $3,870 $2.584
1852 $3,870 $2.584
1851 $3,870 $2.584
1850 $3,870 $2.584
1849 $3,870 $2.584
1848 $3,721 $2.687
1847 $3,455 $2.894
1846 $3,583 $2.791
1845 $3,455 $2.894
1844 $3,455 $2.894
1843 $3,455 $2.894
1842 $3,336 $2.998
1841 $3,121 $3.204
1840 $3,225 $3.101
1839 $3,023 $3.308
1838 $3,023 $3.308
1837 $2,846 $3.514
1836 $2,932 $3.411
1835 $3,121 $3.204
1834 $3,225 $3.101
1833 $3,336 $2.998
1832 $3,225 $3.101
1831 $3,023 $3.308
1830 $3,023 $3.308
1829 $3,023 $3.308
1828 $2,932 $3.411
1827 $2,846 $3.514
1826 $2,846 $3.514
1825 $2,846 $3.514
1824 $2,932 $3.411
1823 $2,688 $3.720
1822 $2,419 $4.134
1821 $2,419 $4.134
1820 $2,304 $4.340
1819 $2,103 $4.755
1818 $2,103 $4.755
1817 $2,016 $4.960
1816 $1,897 $5.271
1815 $1,759 $5.685
1814 $1,536 $6.510
1813 $1,668 $5.995
1812 $1,897 $5.271
1811 $1,935 $5.168
1810 $2,059 $4.857
1809 $2,059 $4.857
1808 $2,016 $4.960
1807 $2,199 $4.548
1806 $2,059 $4.857
1805 $2,150 $4.651
1804 $2,150 $4.651
1803 $2,150 $4.651
1802 $2,250 $4.444
1801 $1,935 $5.168
1800 $1,897 $5.271
1799 $1,936 $5.165
1798 $1,936 $5.165
1797 $1,872 $5.342
1796 $1,802 $5.549
1795 $1,897 $5.271
1794 $2,170 $4.608
1793 $2,407 $4.155
1792 $2,491 $4.014
1791 $2,535 $3.945
1790 $2,604 $3.840
1789 $2,702 $3.701
1788 $2,677 $3.736
1787 $2,558 $3.909
1786 $2,513 $3.979
1785 $2,448 $4.085
1784 $2,329 $4.294
1783 $2,238 $4.468
1782 $1,962 $5.097
1781 $2,154 $4.643
1780 $1,736 $5.760
1779 $1,949 $5.131
1778 $1,726 $5.794
1777 $2,238 $4.468
1776 $2,728 $3.666
1775 $3,114 $3.211
1774 $2,953 $3.386
1773 $2,836 $3.526
1772 $2,628 $3.805
1771 $2,984 $3.351
1770 $2,865 $3.490
1769 $3,080 $3.247
1768 $3,183 $3.142
1767 $3,015 $3.317
1766 $2,923 $3.421
1765 $3,219 $3.107
1764 $3,255 $3.072
1763 $3,015 $3.317
1762 $3,015 $3.317
1761 $3,183 $3.142
1760 $2,984 $3.351
1759 $2,894 $3.455
1758 $3,293 $3.037
1757 $3,536 $2.828
1756 $3,720 $2.688
1755 $3,626 $2.758
1754 $3,536 $2.828
1753 $3,410 $2.933
1752 $3,293 $3.037
1751 $3,370 $2.967
1750 $3,410 $2.933
1749 $3,410 $2.933
1748 $3,493 $2.863
1747 $4,035 $2.478
1746 $4,407 $2.269
1745 $4,476 $2.234
1744 $4,340 $2.304
1743 $4,035 $2.478
1742 $3,536 $2.828
1741 $3,148 $3.177
1740 $4,340 $2.304
1739 $4,547 $2.199
1738 $4,035 $2.478
1737 $4,340 $2.304
1736 $4,407 $2.269
1735 $4,213 $2.374
1734 $4,275 $2.339
1733 $4,340 $2.304
1732 $4,275 $2.339
1731 $4,035 $2.478
1730 $3,581 $2.793
1729 $3,581 $2.793
1728 $3,536 $2.828
1727 $3,331 $3.002
1726 $3,114 $3.211
1725 $3,015 $3.317
1724 $3,581 $2.793
1723 $3,769 $2.653
1722 $3,819 $2.618
1721 $4,035 $2.478
1720 $3,769 $2.653
1719 $3,114 $3.211
1718 $3,255 $3.072
1717 $3,769 $2.653
1716 $3,979 $2.513
1715 $3,255 $3.072
1714 $2,238 $4.468
1713 $2,238 $4.468
1712 $2,407 $4.155
1711 $2,728 $3.666
1710 $2,865 $3.490
1709 $2,469 $4.050
1708 $2,273 $4.399
1707 $2,407 $4.155
1706 $2,581 $3.874
1705 $2,754 $3.631
1704 $2,652 $3.771
1703 $2,428 $4.119
1702 $2,106 $4.748
1701 $2,032 $4.921
1700 $2,204 $4.537