The verb “to impute” is used to proclaim the gospel. By his undeserved favor, God the Father sent his only-begotten Son to join the human race, to become the Second Adam and Israel’s Messiah. God imputed all of your sins and sinfulness against Jesus of Nazareth, and God imputed the righteousness of Jesus to you.
On Good Friday, God charged the sins of the world against Jesus of Nazareth (2 Corinthians 5:19, 21). On Easter, God declared Jesus to be “righteous” by virtue of his righteous doing and suffering (Romans 4:25). Through the gospel, God reckons that righteousness of Jesus to you (Romans 5:19; 1 Corinthians 1:30). God does not count your sin against you (Romans 4:8); he counted it against Christ. Instead God counts righteousness to you (Romans 4:6, 11), not a righteousness of your own based on your activity but the righteousness of Another—the righteousness accomplished by the doing and suffering of Jesus. This righteousness comes from God and is received by faith (Philippians 3:9). Now by faith you stand completely righteous before your Maker and Judge.
In the language of the Suffering Servant song in Isaiah 52:13-53:12, “Yahweh laid on him the iniquity of us all” (Isaiah 53:6). Moreover, “the righteous one, (Yahweh’s) servant, makes the multitudes to be accounted and declared righteous” (Isaiah 53:11). There is a blessed exchange. God put your sins on Christ and counted Christ’s righteousness to you.