Algorithm | Right You R

To draw the bar chart displayed on the App

The number of tactical votes for a political party is added to the number of votes for that party. This operation is performed for all three parties and the results are compared to determine the winner.

An extreme example for demonstration purposes

Say in a particular constituency the Conservatives have 400 votes and all of these voters are willing to lend their vote to either Reform UK or Restore Britain. In the same constituency, Reform UK have 350 votes and all of these voters are willing to lend their vote to Restore Britain but none of them is willing to lend their vote to the Conservatives. Again in the same constituency, Restore Britain have 250 votes and none of these voters is willing to lend their vote to either the Conservatives or Reform UK. There are 1000 votes in total and without tactical voting the Conservatives win with 400 votes, Reform UK are second with 350 votes and Restore Britain come third with 250 votes. However, when tactical voting is used the positions are reversed: Restore Britain come first with 250 + 400(from the Conservatives) + 350(from Reform UK) = 1000 votes, Reform UK come second with 350 + 400(from the Conservatives) = 750 votes and the Conservatives are in third place with 400 votes.

What happens when there is a tie

If two or even three of the parties tie in the number of votes cast, including tactical votes, then the first time this happens the winner for the constituency is allocated at random and remains the winner unless and until overtaken by another party.