Do square envelopes cost more to mail?

Yes. USPS adds a nonmachinable surcharge to square envelopes like the 6.5" x 6.5", so they need more postage than a rectangular envelope of the same weight. #10, A2, A6, A7 and A9 mail at the regular letter rate up to 1 oz (when 1/4" thick or less), and 9x12 envelopes mail at large envelope (flat) rates.

Shop Blank Envelopes in Bulk – 7 Sizes, 6 Paper Stocks