TIOBE Programming Community Index Definition
Since there are many questions about the way the TIOBE index is assembled, a special page is devoted to its definition. Basically the calculation comes down to counting hits for the search query
+"<language> programming"
In the next few sections it is explained what search engines qualify, what programming languages qualify and how the ratings are exactly calculated.
Search Engines
There are 25 search engines that are used to calculate the TIOBE index. The selected search engines are the 25 highest ranked websites of Similarweb that meet the following conditions:
- The entry page of the site contains a search facility
- The result of querying the site contains an indication of the number of page hits
- The results should be available in HTML with clear tags
- Search engines in languages with special characters should be encoded properly
- The search engine should at least return 1 hit for 1 query
- The results of querying the site shouldn't contain too many outliers
- Porn sites are excluded
Based on these criteria the following search engines are qualified:
- Google.com: 7.69%
- Wikipedia.org: 7.38%
- Amazon.com: 7.08%
- Bing.com: 6.77%
- Microsoft.com: 6.46%
- Sharepoint.com: 6.15%
- Ebay.com: 5.85%
- Amazon.co.jp: 5.54%
- Rakuten.co.jp: 5.23%
- Msn.com: 4.92%
- Google.de: 4.62%
- Google.co.jp: 4.31%
- Amazon.de: 4.00%
- Amazon.in: 3.69%
- Walmart.com: 3.38%
- Amazon.co.uk: 3.08%
- Google.com.br: 2.77%
- Google.it: 2.46%
- Google.co.uk: 2.15%
- Google.fr: 1.85%
- Amazon.ca: 1.54%
- Ebay.co.uk: 1.23%
- Amazon.it: 0.92%
- Google.ca: 0.62%
- Google.es: 0.31%
The following search engines didn't qualify for the indicated reason:
- Baidu.com: SOURCES_NOT_PARSABLE
- Bbc.co.uk: NO_COUNTERS
- Bilibili.com: NO_COUNTERS
- Canva.com: NO_SEARCH_FIELD
- Chatgpt.com: NO_RESULTS_AT_ALL
- Duckduckgo.com: NO_COUNTERS
- Dzen.ru: NO_COUNTERS
- Facebook.com: NO_SEARCH_FIELD
- Fandom.com: NO_RESULTS_AT_ALL
- Globo.com: NO_COUNTERS
- Instagram.com: NO_SEARCH_FIELD
- Kwai-video.com: NO_RESULTS_AT_ALL
- Lazlogistics.ph: NO_WEBSITE
- Linkedin.com: NO_COUNTERS
- Live.com: NO_SEARCH_FIELD
- Mail.ru: NO_COUNTERS
- Microsoftonline.com: NO_WEBSITE
- Naver.com: NO_COUNTERS
- Netflix.com: NO_SEARCH_FIELD
- News.yahoo.co.jp: SOURCES_NOT_PARSABLE
- Office.com: NO_SEARCH_FIELD
- Ozon.ru: SOURCES_NOT_PARSABLE
- Pemsrv.com: PORN_SITE
- Pinterest.com: NO_SEARCH_FIELD
- Pornhub.com: PORN_SITE
- Quora.com: NO_COUNTERS
- Reddit.com: NO_COUNTERS
- Roblox.com: NO_SEARCH_FIELD
- Samsung.com: NO_RESULTS_AT_ALL
- T.me: NO_SEARCH_FIELD
- Tiktok.com: NO_COUNTERS
- Twitch.tv: NO_COUNTERS
- Vk.com: NO_COUNTERS
- Weather.com: NO_RESULTS_AT_ALL
- Whatsapp.com: NO_SEARCH_FIELD
- X.com: NO_SEARCH_FIELD
- Xhamster.com: PORN_SITE
- Xhamster.desi: PORN_SITE
- Xnxx.com: PORN_SITE
- Xvideos.com: PORN_SITE
- Yahoo.co.jp: SOURCES_NOT_PARSABLE
- Yahoo.com: SOURCES_NOT_PARSABLE
- Yandex.ru: SOURCES_NOT_PARSABLE
- Youtube.com: NO_COUNTERS
Programming Language
In this section it is clarified what counts as a programming language for the TIOBE index. There are 3 requirements that should all hold:
- The language should have an own entry on Wikipedia and Wikipedia should clearly state that it concerns a programming language. This is the reason why (Ruby on) Rails, Excel, Android, Boost, Cocoa, ASP and AJAX are not considered programming languages for the index.
- The programming language should be Turing complete. As a consequence, HTML and XML are not considered programming languages.
- The programming language should have at least 5,000 hits for +"<language> programming" for Google.
Programming languages that are very similar are grouped together. Currently the maximum of the hits of the individual languages is taken into account when calculating the ratings of groupings. In the future we will do a better job and take the union (from mathematical set theory) of all the hits.
The definition of what languages are grouped has been formalized according to the following rules:
- If a language has its own Wikipedia entry it will not be grouped with another language.
- If a language A automatically redirects to another Wikipedia entry B, A will be grouped together with B.
- If a language A has no separate Wikipedia entry but is mentioned as part of another Wikipedia entry B, A will be grouped together with B.
In order to filter out false positives, two mechanisms are used. First of all a confidence is defined for a language. By default the confidence is 100%, but for some difficult search queries such as "Basic Programming", the confidence will be lower. Apart from the confidence, sometimes also exceptions or mandatory additions are used to weed out false positives.
The following table contains all programming languages tracked including its groupings, confidences and exceptions.
- (Visual) FoxPro: FoxPro, Fox Pro, VFP, VFPA
- 1C:Enterprise script
- 4th Dimension/4D: 4D, 4th Dimension
- ABAP
- ABC: ABC (exceptions: -tv -channel)
- ActionScript: ActionScript, AS1, AS2, AS3
- Ada
- Agilent VEE
- Algol
- Alice: Alice (confidence: 90%)
- Angelscript
- Apex
- APL
- Applescript
- Arc
- AspectJ
- Assembly language: Assembly, Assembly language
- ATLAS
- AutoHotkey: AutoHotkey, AHK
- AutoIt
- AutoLISP
- Automator
- Avenue
- Awk: Awk, Mawk, Gawk, Nawk
- B4X
- Ballerina
- Bash
- Basic: Basic (confidence: 0%)
- BBC BASIC
- bc
- BCPL
- BETA: BETA (confidence: 10%)
- BlitzMax: BlitzMax, BlitzBasic, Blitz Basic
- Boo
- Bourne shell: Bourne shell, sh
- Brainfuck
- C shell: Csh, C shell (confidence: 90%)
- C#: C#, C-Sharp, C Sharp, CSharp, CSharp.NET, C#.NET
- C++
- C++/CLI
- C-Omega
- C: C (exceptions: -"Objective-C")
- Caml
- Carbon
- Ceylon
- CFML: CFML, ColdFusion
- cg: cg (confidence: 80%, exceptions: -"computer game" -"computer graphics")
- Ch: Ch (exceptions: +ChScite)
- Chapel: Chapel (exceptions: -christ)
- CHILL
- CIL
- Citrine
- CL (OS/400): CL (exceptions: -Lisp), CLLE
- Clarion
- Classic Visual Basic: Visual Basic (confidence: 50%), VB (confidence: 50%), VBA, VB6
- Clean: Clean (confidence: 43%)
- Clipper
- CLIPS
- Clojure: Clojure, ClojureScript
- CLU
- COBOL
- Cobra
- CoffeeScript
- COMAL
- Common Lisp
- CORAL 66
- Crystal: Crystal (confidence: 61%, exceptions: -healing), crystallang
- cT
- Curl
- D: D (confidence: 90%, exceptions: -"3-D programming" -"DTrace"), dlang
- Dart
- DCL
- Delphi/Object Pascal: DwScript, Object Pascal, Delphi, Delphi.NET, Pascal (confidence: 95%)
- DiBOL: DBL, Synergy/DE, DIBOL
- Dylan
- E: E (exceptions: +specman)
- ECMAScript
- EGL
- Eiffel
- Elixir
- Elm
- Emacs Lisp: Emacs Lisp, Elisp
- Emerald
- Erlang
- Etoys
- Euphoria
- EXEC
- F#: F#, F-Sharp, FSharp, F Sharp
- Factor
- Falcon
- Fantom
- Felix: Felix (confidence: 86%)
- Forth
- Fortran
- Fortress
- FreeBASIC
- Gambas
- GAMS
- GLSL
- GML: GML, GameMaker Language
- GNU Octave
- Go: Go, Golang
- Gosu
- Groovy: Groovy, GPATH, GSQL, Groovy++
- Hack
- Harbour
- Haskell
- Haxe
- Heron
- HPL
- HyperTalk
- Icon: Icon (confidence: 90%)
- IDL: IDL (exceptions: -corba -interface)
- Idris
- Inform
- Informix-4GL
- INTERCAL
- Io
- Ioke
- J#
- J: J (confidence: 50%)
- JADE
- Java
- JavaFX Script
- JavaScript: JavaScript, JS, SSJS
- JScript
- JScript.NET
- Julia: Julia, Julialang, julia-lang
- Korn shell: Korn shell, ksh
- Kotlin
- LabVIEW
- Ladder Logic
- Lasso
- Limbo
- Lingo
- Lisp
- LiveCode: Revolution, LiveCode
- Logo: Logo (confidence: 90%, exceptions: -tv)
- LotusScript
- LPC
- Lua: Lua, LuaJIT
- Lustre
- M4
- MAD: MAD (confidence: 50%)
- Magic: Magic (confidence: 50%)
- Magik
- Malbolge
- MANTIS
- Maple
- MATLAB
- Max/MSP
- MAXScript
- MDX
- MEL
- Mercury
- Miva
- ML
- Modula-2
- Modula-3
- Mojo
- Monkey
- MOO
- Moto
- MQL5: MQL4, MQL5
- MS-DOS batch
- MUMPS
- NATURAL
- Nemerle
- NetLogo
- Nim: Nim, Nimrod
- Nix
- NQC
- NSIS
- NXT-G
- Oberon
- Object Rexx: Object Rexx, ooRexx, Open Object Rexx
- Objective-C: Objective-C, objc, obj-c
- OCaml: Objective Caml, OCaml
- Occam
- OpenCL
- OpenEdge ABL: Progress, Progress 4GL, ABL, Advanced Business Language, OpenEdge
- OPL
- Oxygene
- Oz
- Paradox
- Pascal: Pascal (confidence: 5%)
- Perl
- PHP
- Pike
- PILOT: PILOT (confidence: 50%, exceptions: -"Palm Pilot programming")
- PL/I: PL/1, PL/I
- PL/SQL
- Pliant
- Pony
- PostScript: PostScript, PS
- POV-Ray
- PowerBasic
- PowerScript
- PowerShell
- Processing: Processing (exceptions: +"sketchbook")
- Programming Without Coding Technology: Programming Without Coding Technology, PWCT
- Prolog
- Pure Data: Pure Data, PD
- PureBasic
- Python
- Q
- R: R (confidence: 90%, exceptions: +"statistical")
- Racket
- Raku: Perl 6, Raku
- REBOL
- Red: Red (confidence: 20%)
- REXX
- Ring
- RPG: RPG (confidence: 80%, exceptions: -role), RPGLE, ILERPG, RPGIV, RPGIII, RPG400, RPGII, RPG4
- RPL
- Ruby
- Rust: Rust, Rustlang
- S-PLUS: S-PLUS (exceptions: +statistical)
- S: S (exceptions: +statistical)
- SAS
- Sather
- Scala
- Scheme: Scheme (exceptions: -tv -channel)
- Scratch
- sed
- Seed7
- SIGNAL: SIGNAL (confidence: 10%)
- Simula
- Simulink
- Slate: Slate (confidence: 57%)
- Small Basic
- Smalltalk
- Smarty
- Snap!
- SNOBOL
- Solidity
- SPARK
- SPSS
- SQL
- SQR
- Squeak
- Squirrel
- Standard ML: Standard ML, SML
- Stata
- Structured Text
- Suneido
- SuperCollider: SuperCollider (confidence: 80%)
- Swift
- SystemVerilog: SystemVerilog, Verilog
- TACL
- Tcl: Tcl/Tk, Tcl
- tcsh
- Tex
- thinBasic
- TOM: TOM (confidence: 50%)
- Transact-SQL: T-SQL, Transact-SQL, TSQL
- TypeScript: TypeScript, TS
- Uniface
- Vala/Genie: Vala, Genie
- VBScript
- VHDL
- Visual Basic: Visual Basic .NET, VB.NET, Visual Basic.NET, Visual Basic (confidence: 50%), VB (confidence: 50%)
- WebAssembly: WASM, WebAssembly
- WebDNA
- Whitespace
- Wolfram: Mathematica, Wolfram
- X++
- X10
- xBase
- XBase++
- XC
- Xen
- Xojo: REALbasic, Xojo
- XPL
- XQuery
- XSLT
- Xtend
- yacc
- Yorick
- Z shell: Z shell, zsh
- Zig: Zig, zlang
Ratings
The ratings are calculated by counting hits of the most popular search engines. The search query that is used is
+"<language> programming"
The number of hits determines the ratings of a language. The counted hits are normalized for each search engine for all languages in the list. In other words, all languages together have a score of 100%. Let's define "hits(SE)" as the sum of the number of hits for all languages for search engine SE and "hits(PL,SE)" as the number of hits for programming language PL for search engine SE. Possible false positives for a query are already filtered out in the definition of "hits(PL,SE)". This is done by using a manually determined confidence factor per query. A query such as "Basic programming" also returns pages that contain "Improve your basic programming skills in Java". The first 100 pages per search engine are checked for possible false positives and this is used to define the confidence factor. If this factor is 90%, then only 90% of the hits are used for "hits(PL,SE)".
The ratings are calculated with the following formula:
(hits(PL,SE1)/hits(SE1) + ... + hits(PL,SEn)/hits(SEn))/n
where n is the number of search engines used.
Artifacts or ideas on improving the calculation of the TIOBE index will be received with gratitude (tpci@tiobe.com).