PHP-based calculator

 
Party votes
FPTP seats
             
Margin  
Party seats  

(Not actually PHP-based anymore but the URL is maintained for backward compatibility)