This document presents a matrix methodology for allocating the costs of reactive power flows in transmission networks. The methodology traces reactive power flows through the network using Kirchhoff's current law and proportional sharing principles. It then allocates the costs of reactive power to generators and loads using the MVAr-mile method. The methodology is demonstrated on sample 6-bus and IEEE 14-bus test systems. Results show the allocated reactive power flows to different loads and the costs allocated to loads for recovery of total reactive power costs in the transmission network.