Optimal capital structure is the proportion of debt, preference shares, and equity that results in the lowest weighted average cost of capital and highest firm value. It is achieved by balancing debt and equity financing in a way that maximizes the market value per equity share while maintaining financial stability and minimizing financial risk. An optimal structure takes advantage of tax benefits of debt but is difficult to determine precisely due to complex market factors that influence equity values.