A simple standalone HTML page to calculate your gridfinity grid and bin sizes
  • TypeScript 56.4%
  • HTML 39.4%
  • JavaScript 3.9%
  • CSS 0.3%
Find a file
2026-01-12 10:56:18 -07:00
docs chore: switch to pnpm 2026-01-11 19:52:09 -07:00
memory-bank chore: update agents file, have the agent update the memory-bank 2026-01-12 10:56:18 -07:00
src feat: change to dark mode theme 2026-01-11 20:36:59 -07:00
.firebaserc chore: add firebase deployment 2026-01-11 20:09:07 -07:00
.gitignore feat: functional gridfinity calculator app 2026-01-11 19:38:34 -07:00
AGENTS.md chore: update agents file, have the agent update the memory-bank 2026-01-12 10:56:18 -07:00
firebase.json chore: add firebase deployment 2026-01-11 20:09:07 -07:00
index.html feat: change to dark mode theme 2026-01-11 20:36:59 -07:00
package.json chore: add firebase deployment 2026-01-11 20:09:07 -07:00
pnpm-lock.yaml chore: add firebase deployment 2026-01-11 20:09:07 -07:00
postcss.config.js feat: functional gridfinity calculator app 2026-01-11 19:38:34 -07:00
README.md docs: add readme 2026-01-11 20:19:59 -07:00
tailwind.config.js feat: change to dark mode theme 2026-01-11 20:36:59 -07:00
tsconfig.json feat: functional gridfinity calculator app 2026-01-11 19:38:34 -07:00

Gridfinity Calculator

A fast, lightweight web tool for planning Gridfinity modular storage layouts. Calculate exactly how many grids fit in your drawer, determine the maximum bin height, and identify remaining gaps for a perfect fit.

Features

  • Unit Conversion: Seamlessly switch between Millimeters and Inches with automatic value conversion.
  • Precision Calculation: Accurate grid counts (including fractional totals) based on standard 42mm Gridfinity specifications.
  • Height Planning: Calculates maximum bin units (U) based on drawer depth and baseplate thickness.
  • Spec Overrides: Customize grid size, unit height, and base thickness for specialized requirements.
  • Responsive Design: Clean, modern interface built with Tailwind CSS.

Getting Started

Prerequisites

  • Node.js (Latest LTS recommended)
  • pnpm (Recommended package manager)

Installation

# Install dependencies
pnpm install

Development

Start the development server with Hot Module Replacement (HMR):

pnpm run dev

Testing

Run unit tests for the calculation engine and utility functions:

# Run tests once
pnpm run test

Building

Build the project for production. The output will be in the dist/ directory:

pnpm run build

Deployment

This project is configured for deployment to Firebase Hosting:

# Deploy to Firebase (requires Firebase login)
pnpm run deploy

Tech Stack


Based on the Gridfinity modular storage system by Zach Freedman.