After more than twenty years of being both a painter and a gallery owner, I've developed a few opinions about the size of paintings. Of course, there is no universally perfect size for a work of art, but there are certainly some sizes that make life a little easier for artists, galleries, and collectors alike.

The Magic of the 30" x 40"
If I had to nominate one size as the most practical, it would probably be the 30" x 40". It's substantial enough to have a real presence in a room without requiring someone to rearrange their entire house. It fits nicely above many couches and beds, and it feels significant without being overwhelming.
There's also a less romantic but incredibly practical reason to love this size: shipping. A 30" x 40" x 3" painting fits nicely into a 36" x 46" x 6" shipping box. This is right around the threshold we try to stay within before encountering more expensive oversized shipping charges, depending on the carrier. A few extra inches can make a surprisingly significant difference in the cost of getting a painting to its new home.
It's not something we necessarily want to think about while standing at our easels, but it's worth knowing. I actually love a 36" x 48" but paying so much more for just a few inches is always painful.

In Praise of the Square
As a gallery owner, I absolutely love a 24" x 24" painting. It's one of the easiest sizes to move around the gallery. It works beautifully on its own, in a grouping, between larger paintings, or in those little spaces that are notoriously difficult to fill.
A 30" x 30" is another favorite of mine. Think of that empty wall at the end of a hallway or the small, uninterrupted wall in a dining room. It's large enough to anchor a space but doesn't demand an enormous amount of real estate.
The Charm of the Unexpected
All that being said, I adore miniature paintings. There's something incredibly intimate about a painting that requires you to lean in and spend a little time with it. Small paintings also allow collectors to find room for one more piece, even when they've convinced themselves they've run out of wall space.
I also love unusually proportioned paintings. Those wonderfully long, skinny landscapes or impossibly tall vertical compositions can be some of the most interesting pieces in the gallery. They often find their way into architectural spaces that a traditionally proportioned painting never could.
And, of course, there's nothing quite like standing in front of an enormous painting that completely consumes your field of vision.

Let the Idea Dictate the Size
I would never want an artist to compromise an idea simply because a painting might be more convenient to ship, hang, or sell at a particular size. These are practical considerations, not creative rules.
If you're ordering a stack of blank panels and wondering what sizes to buy, perhaps some of these dimensions are worth keeping in mind. But if you have an idea that calls for a six-foot canvas or a painting no bigger than a postage stamp, by all means, make that painting.
The perfect size for a painting is ultimately the size that best tells its story.
Everything else is just logistics.