Purpose: Political parties spend significant amounts of resources during their election campaigns, which are usually designed in a sub-optimal and informal way. This study aims to provide a mathematical framework for political parties to optimize their election campaigns, so that they can maximize their performance in the elections. Design/methodology/approach: In this work, we provide certain mathematical relations to determine the minimum necessary number of votes to gain additional seats in an election region under the D’hondt election rule. Also we develop a convenient mathematical model that optimizes the resource allocation scheme of a political party to maximize the potential seats won. We test our models on Turkish Parliamentary ele...