<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: CalcQuarry</title>
    <description>The latest articles on DEV Community by CalcQuarry (@calcquarry).</description>
    <link>https://dev.to/calcquarry</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4190063%2F2178cf03-60a2-430b-8b5a-24878ab04fb5.png</url>
      <title>DEV Community: CalcQuarry</title>
      <link>https://dev.to/calcquarry</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/calcquarry"/>
    <language>en</language>
    <item>
      <title>How Much Concrete Per Fence Post Hole? Quick Sizing Guide</title>
      <dc:creator>CalcQuarry</dc:creator>
      <pubDate>Sat, 17 Oct 2026 12:04:16 +0000</pubDate>
      <link>https://dev.to/calcquarry/how-much-concrete-per-fence-post-hole-quick-sizing-guide-4j09</link>
      <guid>https://dev.to/calcquarry/how-much-concrete-per-fence-post-hole-quick-sizing-guide-4j09</guid>
      <description>&lt;p&gt;Setting fence posts is one of those jobs where a small sizing mistake multiplies across 20 or 30 holes. Too little concrete and posts lean after the first wet winter; too much and you have bought a dozen extra bags. Here is a quick way to size each hole and estimate the concrete.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hole diameter: about 3x the post width
&lt;/h2&gt;

&lt;p&gt;A good rule is a hole roughly three times the width of the post. A 4x4 post (actual 3.5 in) needs a hole about 10 to 12 in across. A 6x6 (5.5 in) needs about 16 in. That leaves a collar of concrete around the post thick enough to resist lateral load from wind and gates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hole depth: one third of post height, plus gravel
&lt;/h2&gt;

&lt;p&gt;Bury about one third of the post's total length. For a 6 ft fence on an 8 ft post, that means roughly 2 to 2.5 ft in the ground. In frost-prone areas, go below the local frost line. Then dig an extra 6 in and fill it with gravel. The gravel lets water drain away from the end grain of the post and gives you a firm, level footing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Estimating concrete volume
&lt;/h2&gt;

&lt;p&gt;Concrete volume is the hole volume minus the post volume, measured above the gravel layer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hole volume = pi x (radius squared) x depth&lt;/li&gt;
&lt;li&gt;Subtract the post cross-section x buried depth&lt;/li&gt;
&lt;li&gt;Add about 10% for irregular hole walls&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As an example, a 10 in hole, 24 in of concrete depth, and a 4x4 post comes to roughly 0.95 cubic feet of concrete per hole.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bag yields
&lt;/h2&gt;

&lt;p&gt;Pre-mixed bags yield approximately:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;50 lb bag: about 0.375 cubic feet&lt;/li&gt;
&lt;li&gt;60 lb bag: about 0.45 cubic feet&lt;/li&gt;
&lt;li&gt;80 lb bag: about 0.60 cubic feet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So that example hole takes about two 60 lb bags or just under two 80 lb bags. Multiply by the number of posts and round up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Skip the arithmetic
&lt;/h2&gt;

&lt;p&gt;If you are pricing a whole fence line with different post sizes, a &lt;a href="https://calcquarry.com/post-hole-concrete-calculator/" rel="noopener noreferrer"&gt;post hole concrete calculator&lt;/a&gt; will give bags per hole and the total for the job in a few seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final tips
&lt;/h2&gt;

&lt;p&gt;Crown the top of the concrete so water runs away from the post, check plumb on two faces before it sets, and wait at least 24 to 48 hours before hanging rails or gates.&lt;/p&gt;

</description>
      <category>diy</category>
      <category>homeimprovement</category>
      <category>construction</category>
      <category>calculator</category>
    </item>
    <item>
      <title>Paver Patio Base Depth: How Much Gravel and Sand You Actually Need</title>
      <dc:creator>CalcQuarry</dc:creator>
      <pubDate>Sat, 17 Oct 2026 07:54:47 +0000</pubDate>
      <link>https://dev.to/calcquarry/paver-patio-base-depth-how-much-gravel-and-sand-you-actually-need-1b1i</link>
      <guid>https://dev.to/calcquarry/paver-patio-base-depth-how-much-gravel-and-sand-you-actually-need-1b1i</guid>
      <description>&lt;p&gt;Every paver patio that rocks, sinks or grows weeds between the joints has the same root cause: a base that was too thin or poorly compacted. The pavers you see are the easy part. The gravel and sand underneath do the real work, so it pays to get the quantities right before the delivery truck shows up.&lt;/p&gt;

&lt;h2&gt;
  
  
  How deep should the base be?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Patios and walkways (foot traffic):&lt;/strong&gt; 4 to 6 inches of compacted crushed-stone base.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Driveways (vehicle traffic):&lt;/strong&gt; 8 to 12 inches of compacted base.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bedding layer:&lt;/strong&gt; about 1 inch of coarse concrete sand screeded on top of the base.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Go toward the deeper end if you have clay soil, poor drainage or a freeze-thaw climate. Crushed stone with fines (often sold as 3/4-inch minus, road base or paver base) locks together far better than round pea gravel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't forget compaction
&lt;/h2&gt;

&lt;p&gt;Loose gravel shrinks when you run a plate compactor over it. Plan on ordering &lt;strong&gt;10 to 15 percent more&lt;/strong&gt; than the compacted volume you calculate. Compact in 2-inch lifts so the whole depth gets dense, not just the top.&lt;/p&gt;

&lt;h2&gt;
  
  
  The formula
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;area (sq ft)  = length x width
volume (cu ft) = area x depth (in) / 12
cubic yards    = cubic feet / 27
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Worked example: 12 x 16 ft patio
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Gravel base (6 inches):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Area: 12 x 16 = 192 sq ft&lt;/li&gt;
&lt;li&gt;Volume: 192 x 0.5 ft = 96 cu ft&lt;/li&gt;
&lt;li&gt;Cubic yards: 96 / 27 = about &lt;strong&gt;3.6 cu yd&lt;/strong&gt; compacted&lt;/li&gt;
&lt;li&gt;With a 15% allowance: about 4.1 cu yd to order&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Bedding sand (1 inch):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;192 x (1/12) = 16 cu ft&lt;/li&gt;
&lt;li&gt;16 / 27 = about &lt;strong&gt;0.6 cu yd&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most suppliers sell by the ton, and crushed stone runs roughly 1.4 to 1.5 tons per cubic yard, so this patio needs close to 6 tons of base.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick JavaScript check
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;yards&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;l&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;depthIn&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;allowance&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.15&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
  &lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;l&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;w&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;depthIn&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;27&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;allowance&lt;/span&gt;&lt;span class="p"&gt;)).&lt;/span&gt;&lt;span class="nf"&gt;toFixed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;yards&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt; &lt;span class="c1"&gt;// 4.09 (base)&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;yards&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt; &lt;span class="c1"&gt;// 0.59 (sand)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Skip the arithmetic
&lt;/h2&gt;

&lt;p&gt;If you would rather plug in dimensions and get base and sand quantities in one step, the free &lt;a href="https://calcquarry.com/paver-base-calculator/" rel="noopener noreferrer"&gt;paver base calculator&lt;/a&gt; on CalcQuarry handles depth, compaction and both layers. For converting cubic yards into tons for your supplier, use the &lt;a href="https://calcquarry.com/gravel-calculator/" rel="noopener noreferrer"&gt;gravel tonnage&lt;/a&gt; tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final tips
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Excavate 6 to 12 inches beyond the patio edges so edge restraints sit on base.&lt;/li&gt;
&lt;li&gt;Slope the base about 1/8 inch per foot away from the house.&lt;/li&gt;
&lt;li&gt;Lay geotextile fabric over soft soil before adding stone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Get the base right and the pavers on top will stay flat for decades.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>diymath</category>
    </item>
    <item>
      <title>Building a Simple Concrete Volume Formula: Cubic Yards from Feet and Inches</title>
      <dc:creator>CalcQuarry</dc:creator>
      <pubDate>Sat, 17 Oct 2026 07:41:31 +0000</pubDate>
      <link>https://dev.to/calcquarry/building-a-simple-concrete-volume-formula-cubic-yards-from-feet-and-inches-25p9</link>
      <guid>https://dev.to/calcquarry/building-a-simple-concrete-volume-formula-cubic-yards-from-feet-and-inches-25p9</guid>
      <description>&lt;p&gt;Every DIY concrete project starts with the same question: how many cubic yards do I order? Ready-mix suppliers sell by the cubic yard, but we measure slabs in feet and inches. Here is a tiny, dependable formula you can drop into any project.&lt;/p&gt;

&lt;h2&gt;
  
  
  The math
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Measure length and width in feet.&lt;/li&gt;
&lt;li&gt;Convert the thickness (depth) from inches to feet: &lt;code&gt;inches / 12&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Multiply length x width x depth to get cubic feet.&lt;/li&gt;
&lt;li&gt;Divide by 27, because one cubic yard is 3 ft x 3 ft x 3 ft = 27 cubic feet.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cubic yards = (L ft x W ft x (D in / 12)) / 27
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A small JavaScript helper
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;concreteYards&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;lengthFt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;widthFt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;depthIn&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;waste&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;depthFt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;depthIn&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;cubicFeet&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;lengthFt&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;widthFt&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;depthFt&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;yards&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;cubicFeet&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;27&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;yards&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;waste&lt;/span&gt;&lt;span class="p"&gt;)).&lt;/span&gt;&lt;span class="nf"&gt;toFixed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;concreteYards&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt; &lt;span class="c1"&gt;// 2.72&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The optional &lt;code&gt;waste&lt;/code&gt; factor adds 10% for spillage, uneven subgrade and over-excavation, which is what most contractors recommend.&lt;/p&gt;

&lt;h2&gt;
  
  
  Worked example
&lt;/h2&gt;

&lt;p&gt;A 20 ft x 10 ft patio slab poured 4 inches thick:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Depth: 4 / 12 = 0.333 ft&lt;/li&gt;
&lt;li&gt;Volume: 20 x 10 x 0.333 = 66.7 cubic feet&lt;/li&gt;
&lt;li&gt;Yards: 66.7 / 27 = 2.47 cubic yards&lt;/li&gt;
&lt;li&gt;With 10% extra: about 2.72 cubic yards, so order 3 yards.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Edge cases worth handling
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Mixed units like 10 ft 6 in: convert to 10.5 ft before multiplying.&lt;/li&gt;
&lt;li&gt;Round up when ordering, since suppliers usually sell in quarter- or half-yard increments.&lt;/li&gt;
&lt;li&gt;For bagged concrete, one 80 lb bag yields roughly 0.6 cubic feet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to skip the code and just get a number (plus bag counts), try the &lt;a href="https://calcquarry.com/" rel="noopener noreferrer"&gt;CalcQuarry concrete calculator&lt;/a&gt;. It uses the same formula and also covers gravel, mulch and paver base.&lt;/p&gt;

</description>
      <category>coding</category>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
