# Calculating spacing of isometric tile

**URL:** <https://forum.kirupa.com/t/calculating-spacing-of-isometric-tile/147095>\
**Category:** Uncategorized\
**Created:** [May 6, 2005, 11:39pm UTC](https://forum.kirupa.com/t/calculating-spacing-of-isometric-tile/147095 "2005-05-06T23:39:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dauntless](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dauntless/32/749_2.png) [@Dauntless](https://forum.kirupa.com/u/Dauntless)\
**Post date:** [May 6, 2005, 11:39pm UTC](https://forum.kirupa.com/t/calculating-spacing-of-isometric-tile/147095/1 "2005-05-06T23:39:55Z")

</div>

Hi evryone!

I have an isometric tile of 42\*21. Now, I need to know the height of the original movieclip (the square, from where this tile was made). My book says: devide the width of the iso tile by the square root of 2.  
That would be:  
42/Math.sqrt(2);

Though this comes quite close to the height, it’s not entirely accurat. I see a little bit of wite (empty pixels) between the tiles.

Then changed Math.sqrt(2) to: 1.4142135623730951 (+3 accuracy). This doesn’t work either. I’ve attached an image, so you can see where the problem is. (In the image, i’ve used 1.4142135623730951 ).
