Balancing territories for equity and efficiency is crucial in sales management, as maintaining optimal balance between profitability and minimizing costs can lead to unhappy employees or lost revenue. The use of spatial analytics and data science can help optimize territories based on company priorities, such as reducing travel time and increasing productivity. A baseline solution using nearest neighbor analysis assigns accounts to the rep who lives closest to each medical center, but this may not meet the goal of evenly valued territories. Two solutions were explored: Minimum Cost Flow algorithm and Genetic Algorithms. The Minimum Cost Flow algorithm reduces standard deviation of sales value by 17%, while the Genetic Algorithm reduces it by 50% with only a 3% increase in total distance travelled, creating more equitable and efficient territories. By using data-driven territory management, sales managers can reduce inefficiencies, costs, and achieve their sales goals.