Rug Size Calculator by SmallSpaceGlow

plugin banner

Free rug size calculator with live room visualizer. Instantly recommends the perfect rug for any room. Shortcode + Gutenberg block included.

Author:smallspaceglow (profile at wordpress.org)
WordPress version required:5.8
WordPress version tested:6.9.4
Plugin version:1.1.4
Added to WordPress repository:27-03-2026
Last updated:27-03-2026
Rating, %:0
Rated by:0
Plugin URI:https://smallspaceglow.com/rug-size-calculato...
Total downloads:96
plugin download
Click to start download

Rug Size Calculator with Visualizer helps your visitors instantly find the right rug size for any room in their home. No guesswork, no measuring confusion — just clear, accurate recommendations based on proven interior design rules.

Built for interior design bloggers, home decor shops, and furniture retailers who want to add real value to their audience.

What it does:

  • Recommends standard rug sizes based on room dimensions and furniture
  • Shows a live top-down canvas visualizer of the room, rug, and furniture to scale
  • Covers 4 room types: Living Room, Bedroom, Dining Room, Entry/Hallway
  • Switches between Imperial (inches/feet) and Metric (cm/m)
  • Snaps recommendations to real-world standard rug sizes
  • Lets visitors copy the result, copy size only, or download a PNG
  • Sends the recommendation to any email address via wp_mail()
  • Includes a Gutenberg block with brand-color controls in the Inspector panel
  • Shortcode: [ssg_rug_calculator]
  • Outputs Schema.org structured data (WebApplication) for SEO

Room-specific logic:

  • Living room — calculates based on sofa width, layout (front legs vs all legs), and wall clearance preference
  • Bedroom — supports Twin through Cal King; handles partial-under, full-under, and side runner layouts
  • Dining room — rectangle and round tables; always adds 24″ for chair pull-out clearance
  • Entry/Hallway — recommends runner sizes with wall clearance options

Shortcode

[ssg_rug_calculator]

All attributes are optional. Use them to match your brand colors:

[ssg_rug_calculator primary="#d96b5b" accent="#6f9e8d" bg="#faf7f2" text="#1f1f1f" border="#e7e2dd"]

Attribute
Default
Description

primary
#d96b5b
Button / highlight color

accent
#6f9e8d
Rug color in visualizer

bg
#faf7f2
Calculator background

text
#1f1f1f
Body text color

border
#e7e2dd
Border / card color

SEO features

  • Outputs Schema.org WebApplication JSON-LD structured data on any page the shortcode is used on
  • Clean, semantic HTML with ARIA roles and labels for accessibility
  • Lightweight — one CSS file, one JS file, no external dependencies

Privacy

This plugin does not collect, store, or share any personal data. The optional email feature uses wp_mail() to send a result to a visitor-supplied address. No data is retained by the plugin after the email is dispatched. No third-party services are contacted.


Screenshots
FAQ
ChangeLog