The main purpose of this legislation, known as the Highway Formula Fairness Act, is to change how federal highway funding is distributed among states. The goal is to ensure a fairer allocation of funds based on each state's contributions to the Highway Trust Fund, which is primarily funded by taxes on fuel and other highway-related fees. Key provisions of the act include a new method for calculating how much funding each state receives for various federal highway programs.