The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. How does the toolbar caclulate text to code ratio?

    How does the toolbar caclulate text to code ratio?

    Web Design
    7 4 2.7k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EHR
      EHR last edited by

      I am seeing some very weird text to code ratios on a competitor site (over 100%) through the Analyze feature on the SEOmoz toolbar. I'm wondering how that's calculated, and what my competitors might be doing to raise that ratio so high artificially.

      I need to turn in a report on this soon, any help is greatly appreciated!!

      EHR

      1 Reply Last reply Reply Quote 0
      • DanDeceuster
        DanDeceuster last edited by

        I've never heard of this happening, almost every time I have used the analyze feature I get between 20% and 40% on the text to code ration. Can you post the URL of the page that is showing over 100% so we can take a look at what might be causing this?

        From a technical perspective, this ration is simply determined by comparing the number of characters in text to the number of characters not in text. You can never have a 100% simply by virtue of a section. Google for another free text to code ratio tool and see what it says for the page in question too.

        EHR 1 Reply Last reply Reply Quote 0
        • EHR
          EHR @DanDeceuster last edited by

          It happens on several Amazon pages, listed below. In other tools the numbers are more normal, it's only with the SEOmoz toolbar that we get these aberrations.

          80% - http://www.amazon.com/Happy-Birthday-Barbie-Princess-Doll/dp/B002UHJUUM

          125% - http://www.amazon.com/Apple-Generation-without-iPhone-Software-Previous/dp/B001FA1NZK

          119% - http://www.amazon.com/Hamilton-Beach-33966-6-Quart-Programmable/dp/B000GHGKXS

          Thanks for your help!

          EHR

          1 Reply Last reply Reply Quote 0
          • EHR
            EHR last edited by

            Any ideas on this post? Trying to figure out why Amazon's pages have such an artificially high text to code ratio.

            Thanks!

            EHR

            1 Reply Last reply Reply Quote 0
            • AaronWheeler
              AaronWheeler last edited by

              Hey EHR!

              The text to code ratio is actually as it sounds: the number of text characters divided by the number of code characters. So, if there are 200 characters in your text, but 1000 in your code, you would have a ratio of 20%. However, if you have 1000 text characters, but only 200 code characters, you would have a ratio of 500%. It's not common, but it does happen (especially on a text-heavy site like Amazon). I hope that helps! Let me know if there's anything else I can do to help. Cheers!

              RyanKent 1 Reply Last reply Reply Quote 0
              • RyanKent
                RyanKent @AaronWheeler last edited by

                Hi Aaron.

                Your explanation makes perfect sense, but I seem to be missing something. The below page shows over a 200% text to code ratio: http://www.screwfix.com/c/heating-plumbing/radiators/cat830960

                The thing is, the page has very little text. Can you help me understand how the tool is working on this page?

                AaronWheeler 1 Reply Last reply Reply Quote 0
                • AaronWheeler
                  AaronWheeler @RyanKent last edited by

                  Hey Ryan! That's definitely weird. This is more of a customer service question than an SEO question, so I'm going to close this Q&A and open a customer service ticket for you at the email address associated with your account so I can do some research and get back to you. In the future, if you have a question about our site or tools, please email it to help@seomoz.org to get faster service. Thank you! Talk to you soon!

                  1 Reply Last reply Reply Quote -1
                  • 1 / 1
                  • First post
                    Last post
                  • Text hidden in tabs on desktop
                    seoanalytics
                    seoanalytics
                    0
                    3
                    154

                  • Organization name as text vs. as a picture with alt text + Schema.org markup
                    BlueprintMarketing
                    BlueprintMarketing
                    1
                    6
                    587

                  • Godaddy renewal discount codes
                    EricaMcGillivray
                    EricaMcGillivray
                    0
                    2
                    61

                  • Body of text on category pages
                    EGOL
                    EGOL
                    0
                    3
                    159

                  • Bar Codes for Event Sites
                    RobertFisher
                    RobertFisher
                    0
                    3
                    372

                  • Testing your code and site
                    JohnW-UK
                    JohnW-UK
                    0
                    5
                    2.1k

                  • Coding a WordPress shopping cart
                    KeriMorgret
                    KeriMorgret
                    0
                    5
                    859

                  • Whats your Favorite font for text
                    Getz.pro
                    Getz.pro
                    0
                    5
                    1.3k

                  Get started with Moz Pro!

                  Unlock the power of advanced SEO tools and data-driven insights.

                  Start my free trial
                  Products
                  • Moz Pro
                  • Moz Local
                  • Moz API
                  • Moz Data
                  • STAT
                  • Product Updates
                  Moz Solutions
                  • SMB Solutions
                  • Agency Solutions
                  • Enterprise Solutions
                  • Digital Marketers
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority Checker
                  • Local Citation Checker
                  • MozBar Extension
                  • MozCast
                  Resources
                  • Blog
                  • SEO Learning Center
                  • Help Hub
                  • Beginner's Guide to SEO
                  • How-to Guides
                  • Moz Academy
                  • API Docs
                  About Moz
                  • About
                  • Team
                  • Careers
                  • Contact
                  Why Moz
                  • Case Studies
                  • Testimonials
                  Get Involved
                  • Become an Affiliate
                  • MozCon
                  • Webinars
                  • Practical Marketer Series
                  • MozPod
                  Connect with us

                  Contact the Help team

                  Join our newsletter
                  Moz logo
                  © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy