The state is making $30 million available to cities and towns to help fill potholes and make other repairs to roads and bridges after a brutal winter.

Gov. Charlie Baker's administration announced what it dubbed the Winter Recovery Assistance Program on Thursday. The $30 million will come from the sale of bonds authorized for the state Department of Transportation.

The funds will be distributed under a formula that takes into account geographical size and population. Boston will receive nearly $2.2 million, by far the largest share of any community. Worcester's share will be about $616,000 and Springfield will get $546,000 under the formula.

Boston and much of the state recorded record snowfall over the winter, which combined with frigid temperatures has left local roads dotted with potholes.