The statewide cost of buying new voting machines will be as high as $153 million, according to the Pennsylvania Department of State. Currently, $14.1 million is available, thanks to a $13,476,156 federal grant that required a state match of five percent, or $673,808. Each county is allocated a portion of that.