Want to join the tiny-house movement? You can either buy a tiny house or build it.

Building a tiny house is typically cheaper, but costs vary, from less than $10,000 to more than $30,000.

The cost boils down to a variety of factors, such as location, materials, and labor.

Visit Business Insider's homepage for more stories.

Tiny houses are having a moment.

They're minimalist, portable, and environmentally friendly — and people are jumping on the lifestyle.

If you want a tiny house of your own, you can either buy one — the median cost for one in the US is $59,884, according to The Spruce — or build one, which is typically cheaper.

Read more: Here's what living in a tiny house is really like, according to people who traded their homes for minimalism

So how much does it cost to build a tiny house? Well, that depends. Some tiny-house dwellers built their abode for less than $10,000, while others spend upwards of $30,000.

It really all comes down to location, housing materials, and labor. Here are the general rules of thumb when it comes to setting a realistic budget for your tiny house.

Read more: Moving into a tiny house helped one 35-year-old increase his income and save $100,000 in 5 years — here's how he did it