The ATB tags compounds with named functional groups, derived from the structure. Each group is a small query graph: a pattern of atoms and bonds with conditions on each atom, matched as a subgraph of the molecule’s own graph. One occurrence is one distinct set of the pattern’s anchor atoms, so a carboxylate’s two equivalent oxygens count once. A group is not counted where its atoms lie inside a match of a group that takes precedence over it (an ester’s O is not also an ether). Parent groups (amine, halogen, …) are never matched themselves: a compound has a parent group when it has any of the groups under it. In the drawings, a note beside a carbon says what the letter alone does not (sp3, sp2, aromatic, …): it is what tells the alkyl, vinyl and aryl forms of a group apart. Open a group to see exactly what it matches and what it does not.
Annotation scheme 2. Counts are of the annotated compounds (245,759): those with experimental reference data plus small, neutral organic compounds (up to 12 heavy atoms; carbon with H, N, O, S, P, F, Cl, Br, I), not of every ATB molecule. Counts as of 2026-10-21 05:31. The vocabulary is also available as JSON: GET /api/v1/functional_groups.
chloro_alkyl carboxylic_acid carboxylate aromatic_amine_primary aromatic_amine_secondary aromatic_amine_tertiary ammonium_secondary aromatic_ammonium_primary aromatic_ammonium_secondary aromatic_ammonium_tertiary sulfonamide_anion sulfonate phosphate_triester acetal_or_ketal 3,414 alcohol_any_form 67,753 alcohol 57,012 alcohol_primary 29,072 alcohol_secondary 21,839 alcohol_tertiary 11,138 alkoxide 15,108 amide 17,239 amidine_any_form 10,591 amine_any_form 65,941 amine 43,782 amine_aliphatic 33,446 amine_aromatic 10,536 aromatic_amine_primary 7,541 aromatic_amine_secondary 2,711 aromatic_amine_tertiary 688 ammonium 25,553 ammonium_aliphatic 23,439 ammonium_primary 8,781 ammonium_secondary 13,151 ammonium_tertiary 2,154 ammonium_quaternary 89 ammonium_aromatic 2,162 aromatic_ammonium_primary 1,020 aromatic_ammonium_secondary 1,097 aromatic_ammonium_tertiary 61 aromatic_ammonium_quaternary 0 aromatic_ring 47,164 heteroaromatic 41,469 azine 11,112 pyridine 3,098 pyrimidine 3,032 pyridinone 376 (also under heteroaromatic_lactam) pyrimidinone 1,212 (also under heteroaromatic_lactam) pyrazine 922 pyridazine 732 triazine 441 triazine_12x 1,146 tetrazine 239 azole 25,679 triazole 3,908 triazole_123 2,016 triazole_124 1,893 pyrrole 3,175 indole 107 imidazole 5,292 pyrazole 3,638 tetrazole 765 oxazole 2,115 isoxazole 1,834 thiazole 1,455 isothiazole 197 oxadiazole 2,351 thiadiazole 1,434 heteroaromatic_lactam 1,588 pyridinone 376 (also under azine) pyrimidinone 1,212 (also under azine) furan 1,912 thiophene 957 purine 399 pyranone 317 heteroaromatic_other 2,849 phenyl 6,873 carboxyl 12,483 carboxylic_acid 7,933 carboxylate 4,717 carboxylic_ester 8,382 cycloalkane 58,499 cyclopropane 31,352 cyclobutane 29,475 cyclopentane 9,597 cyclohexane 2,063 cycloheptane 140 cyclooctane 20 enol_any_form 17,027 ether 54,440 ether_aliphatic 42,883 ether_aryl 2,984 epoxide 10,445 guanidine_any_form 1,736 guanidine 1,434 guanidinium 302 halo 13,500 halo_alkyl 5,283 fluoro_alkyl 1,861 (also under fluoro) chloro_alkyl 2,411 (also under chloro) bromo_alkyl 1,091 (also under bromo) iodo_alkyl 85 (also under iodo) halo_aryl 5,097 fluoro_aryl 2,216 (also under fluoro) chloro_aryl 1,869 (also under chloro) bromo_aryl 939 (also under bromo) iodo_aryl 180 (also under iodo) bromo 2,804 bromo_alkyl 1,091 (also under halo_alkyl) bromo_aryl 939 (also under halo_aryl) bromo_vinyl 961 (also under halo_vinyl) chloro 6,264 chloro_alkyl 2,411 (also under halo_alkyl) chloro_aryl 1,869 (also under halo_aryl) chloro_vinyl 2,345 (also under halo_vinyl) fluoro 4,513 fluoro_alkyl 1,861 (also under halo_alkyl) fluoro_aryl 2,216 (also under halo_aryl) fluoro_vinyl 478 (also under halo_vinyl) iodo 332 iodo_alkyl 85 (also under halo_alkyl) iodo_aryl 180 (also under halo_aryl) iodo_vinyl 68 (also under halo_vinyl) halo_vinyl 3,806 fluoro_vinyl 478 (also under fluoro) chloro_vinyl 2,345 (also under chloro) bromo_vinyl 961 (also under bromo) iodo_vinyl 68 (also under iodo) hemiacetal_or_hemiketal 1,364 hemiacetal 1,333 hemiketal 31 organosilicon 14 silane 1 siloxane 5 silyl_ether 8 phenol_any_form 8,406 phosphate 127 phosphate_diester 12 phosphate_diester_acid 8 phosphate_diester_anion 4 phosphate_monoester 104 phosphate_monoester_acid 88 phosphate_monoester_anion 16 phosphate_triester 11 phosphino 218 phosphinic_acid 193 phosphinate 25 phosphonate 609 phosphonate_monoester 48 phosphonate_monoester_acid 44 phosphonate_monoester_anion 4 phosphono 538 phosphonic_acid 427 phosphonate_anion 113 phosphonate_diester 28 sulfate 200 sulfate_monoester 197 sulfate_monoester_acid 92 sulfate_monoester_anion 105 sulfate_diester 3 sulfino 16 sulfinic_acid 16 sulfinate 0 sulfonamide_any_form 420 sulfonamide 289 sulfonamide_anion 131 sulfo 167 sulfonic_acid 127 sulfonate 40 thiol_any_form 5,892 alkene 69,045 alkyne 24,200 allene 36 halide_ion 3 aziridine 19,036 orthoester 11 heteroacetal 22,681 peroxide 125 aldehyde 15,945 ketone 18,777 anhydride 68 acyl_halide 60 carbonate 215 carbonyl_protonated 165 imide 554 amide_anion 4,792 imide_anion 203 urea 2,533 carbamate 1,276 carbamic_acid 25 imine 37,707 iminium 19,907 oxime 3,706 hydrazine 8,909 hydrazone 3,127 azo 2,007 azide 113 diazo 440 triazene 357 nitrile 18,443 nitrilium 2,178 isocyanate 33 isothiocyanate 86 thiocyanate 42 nitro 860 nitrate 111 nitroso 1,364 nitrosamine 377 nitronate 88 n_oxide 2,313 nitrone 593 hydroxylamine 3,097 hydroxamic_acid 525 thioether 8,191 disulfide 885 thioester 141 thiocarbamate 48 thioamide 710 thiourea 432 thione 452 sulfoxide 351 sulfone 122 sulfonate_ester 51 sulfonyl_halide 13 sulfite 6 sulfonium 6,752 thiophosphate 54 phosphine_oxide 13 phosphine 68 boronic_acid 0 selenide 0 aromatic_n_cation 3,571 aromatic_n_anion 1,228 azanide 31,590 nitrile_anion 124 carbanion 8,993 carbocation 2,112